Skip to content

Setting Up MARLIN

Now that your robot is built, it is time to set up the MARLIN VS Code extension. This page will guide you through the installation process on your laptop. MARLIN runs on Windows 10 or 11, and on macOS Monterey (12) or later. Linux is not supported.

To use MARLIN, you need to have Python 3.10 or newer installed.

Install Python. Any version from 3.10 up will work. Follow the installation instructions.

To use MARLIN, you need to have VS Code 1.120 or newer installed. Download the latest version from the VS Code download page. Follow the installation instructions.

Install the MARLIN extension from the VS Code Marketplace:

  1. Open VS Code.
  2. Open the Extensions view (the icon with four squares in the activity bar, or Ctrl+Shift+X).
  3. Search for MARLIN.
  4. Find MARLIN Controller by PolyMate Pte Ltd and click Install.
  5. Reload VS Code if prompted.

VS Code Extensions marketplace searching for MARLIN. The correct result, "MARLIN Controller" by PolyMate Pte Ltd, is the second entry and is outlined in green.

After installation, the MARLIN icon appears in the VS Code activity bar, the strip of icons down the far left edge of the window. Click on the fish icon.

The VS Code activity bar. The MARLIN icon, a marlin silhouette, is circled in green near the bottom of the strip.

This will bring you to the MARLIN Control Station.

VS Code with the MARLIN control station open in the sidebar and the MARLIN Console panel docked at the bottom.

Congratulations! You have successfully installed MARLIN on your laptop.

The MARLIN Controller extension and the MARLIN Python API are free for students, educators and schools using MARLIN. They are closed source; the licence is in the extension’s LICENSE.txt. The extension sends no usage data. It talks to the Robot through the Controller (USB and Bluetooth), to your Python program over a local connection on the laptop (port 5172), and to a Pool Server only when you enter its address at a competition, on the same Wi-Fi network.


Next: learn the control station and connect your robot in the Extension Walkthrough.