pio lib

Deprecated since version 6.0:

Warning

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

Please use the unified Package Management CLI instead.

Usage

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

Options

-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 (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.

Commands