pio lib

Deprecated since version 6.0:


This command is deprecated and will be removed in the next releases.

Please use the unified Package Management CLI instead.


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


-d, --storage-dir

Manage custom library storage. Multiple options are allowed.

-g, --global

Manage global PlatformIO’s library storage (globallib_dir) 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.