Forrest logo
back to the pio tool

pio-ci:tldr:7768f

pio-ci: Build a PlatformIO project and specify specific libraries.
$ pio ci --lib ${path-to-library_directory} ${path-to-project}
try on your machine

This command is used with the PIO (PlatformIO) command-line interface to build a project with a specific library.

Here's a breakdown of the command:

  • pio: It is the command used to interact with the PlatformIO CLI.
  • ci: It stands for Continuous Integration, which is a process of automatically building and testing software. In this context, it is used to build a project.
  • --lib ${path-to-library_directory}: This flag specifies the path to the directory where the library is located. You need to replace ${path-to-library_directory} with the actual path to the library folder on your system.
  • ${path-to-project}: This should be replaced with the actual path to your project directory.

So, when you execute this command, it will build the project located at ${path-to-project} while using the library located at ${path-to-library_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