The CLI discovers a V5 brain through the operating system’s serial devices and currently supports Linux. The serial library uses the browser’s Web Serial API and works wherever that API is implemented; this is separate from CLI platform support.

Before connecting

  • Turn on the brain and connect it directly over USB.
  • Use a data-capable USB cable.
  • Close VEXcode and other tools that may already own the port.
  • On Linux, ensure your user can access the relevant /dev/tty* device.
  • In a browser, use a secure context and grant device permission when prompted.
Only one process should control the serial port at a time. A permission or “port already open” error usually means another process owns it.

CLI troubleshooting

Serial troubleshooting