Library Manager

Usage

platformio lib [OPTIONS] COMMAND

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

Options

-g, --global

New in version 3.0.

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

-d, --storage-dir

New in version 3.0.

Manage custom library storage. It can be used later for the lib_extra_dirs option from Project Configuration File platformio.ini.

Demo

../../_images/platformio-demo-lib2.gif