1

Install the CLI

bun add --global @v5x/cli
2

Install your project toolchain

v5x install vexide
# or
v5x install pros
3

Connect the brain

Connect the V5 brain to the computer with a USB cable and turn it on. Close other applications that may have claimed the serial port.
4

Build and upload

Run this inside an existing supported project:
v5x upload --slot 1
5

Start the program

Build, upload, and immediately run the program:
v5x run --slot 1
Run v5x new robot --type vexide or v5x new robot --type pros to create a project from a built-in template.