So you’ve decided to install PyBricks on your PRIME Hub. To start, go to http://code.pybricks.com and click the settings icon. Select “Install Pybricks Firmware.” Select the 4th option on the top row (Prime Hub) and click next.
Click “Agree” on the next page and configure your name on the page after that. Then, disconnect any USB connection you have to the hub and turn it off. Next, press and hold the Bluetooth button on the hub and reconnect the USB cable to your computer. Wait for the Bluetooth light to start blinking pink-green-blue-off. Then release the button and click “Install.”
To create programs, you can start by using the same online editor, but this has a few limitations. Mainly, it cannot be used offline and cannot use multiple files at once, for example, calling modules from a class in another file.
Instead, you should install pybricks-dev on a laptop and use VS Code with a Pybricks extension installed. This will allow you to code offline when you are at competitions and create your own classes across multiple Python files.

