Commands

Here is a complete list of commands and their options that you can use to manage your embedded projects.

Project Management

Creating a Project

Creates all the necessary setup files and a basic starting code file.

prustio project init [PROJECT_NAME] [OPTIONS]

Cleaning a Project

Deletes the created build files to save disk space or start a fresh build.

prustio clean [OPTIONS]

Building and Uploading

The run command checks your setup, compiles the code, and uploads it to the board.

prustio run [OPTIONS]

Device & Serial Monitor

Finding Connected Devices

Check which microcontrollers and serial devices are connected to your computer:

prustio device list [OPTIONS]

Interactive Serial Monitor

Open the built-in serial monitor to communicate with your device.

prustio device monitor [OPTIONS]

Environment Management

Activating an Environment

Change the active board. This updates the settings for the new hardware.

prustio activate <ENVIRONMENT_NAME> [OPTIONS]

Updating Settings

If you change your Prustio.toml file manually, force pRustIO to update the project settings to match:

prustio refresh [OPTIONS]

Other Commands

List Supported Boards

See all the microcontrollers that pRustIO supports.

prustio boards [FILTER] [OPTIONS]