Forrest logo
back to the pio tool

pio-ci:tldr:99f11

pio-ci: Build a PlatformIO project in a specific directory.
$ pio ci --build-dir ${path-to-build_directory} ${path-to-project}
try on your machine

The command pio ci is used to build a PlatformIO project. It is typically used for continuous integration systems or automated build processes.

Here's a breakdown of the command and its options:

  • pio ci: The main command that tells PlatformIO to build a project using continuous integration mode.
  • --build-dir ${path-to-build_directory}: This option specifies the directory where the build output will be placed. ${path-to-build_directory} is the path to the desired build directory, which can be customized to fit your project's needs.
  • ${path-to-project}: This is the path to the project directory on your local file system. It points to the location where your PlatformIO project is stored. It is important to provide the correct path to ensure that PlatformIO can find all the necessary project files and dependencies.

By executing this command, PlatformIO will build the specified project, placing the resulting build output in the specified build directory.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pio tool