commands.sh

pio ci

all

Build PlatformIO projects with an arbitrary source code structure. This will create a new temporary project which the source code will be copied into.

More info →

Options (3)

-l, --libboolean

Build a PlatformIO project and specify specific libraries

Example: pio ci {{[-l|--lib]}} {{path/to/library_directory}} {{path/to/project}}
-b, --boardboolean

Build a PlatformIO project and specify a specific board (`pio boards` lists all of them)

Example: pio ci {{[-b|--board]}} {{board}} {{path/to/project}}
-c, --project-confboolean

Build a PlatformIO project using a specific configuration file

Example: pio ci {{[-c|--project-conf]}} {{path/to/platformio.ini}}

Examples (6)

Build a PlatformIO project in the default system temporary directory and delete it afterwards

pio ci path/to/project

Build a PlatformIO project and specify specific libraries

pio ci [-l|--lib] path/to/library_directory path/to/project

Build a PlatformIO project and specify a specific board (`pio boards` lists all of them)

pio ci [-b|--board] board path/to/project

Build a PlatformIO project in a specific directory

pio ci --build-dir path/to/build_directory path/to/project

Build a PlatformIO project and don't delete the build directory

pio ci --keep-build-dir path/to/project

Build a PlatformIO project using a specific configuration file

pio ci [-c|--project-conf] path/to/platformio.ini
made by @shridhargupta | data from tldr-pages