Library Manager CLI


# To print all available commands and options use
pio lib --help
pio lib COMMAND --help


-d, --storage-dir

Manage custom library storage. It can be used later for the lib_extra_dirs option from “platformio.ini” (Project Configuration File). Multiple options are allowed.

-g, --global

Manage global PlatformIO’s library storage ( “core_dir/lib”) where Library Dependency Finder (LDF) will look for dependencies by default.

-e, --environment

Manage libraries for the specific project build environments declared in “platformio.ini” (Project Configuration File). Works for --storage-dir which is valid PlatformIO project.