pio-lib

manages PlatformIO libraries (deprecated, use pio pkg)

TLDR

Search for libraries
$ pio lib search [mqtt]
Install library
$ pio lib install [PubSubClient]
Install specific version
$ pio lib install "[email protected]"
List installed libraries
$ pio lib list
Uninstall library
$ pio lib uninstall [PubSubClient]
Update all installed libraries
$ pio lib update

SYNOPSIS

pio lib command [options]

DESCRIPTION

pio lib manages PlatformIO libraries. Search, install, and update libraries from the PlatformIO registry. Handles dependencies automatically for embedded projects. This command is deprecated since PlatformIO 6.0; use pio pkg instead.

PARAMETERS

search query

Search library registry.
install library
Install library.
uninstall library
Remove library.
list
List installed libraries.
update
Update installed libraries.
show library
Show library details.
builtin
Show built-in libraries.
register
Register a library in the PlatformIO registry.
stats
Show library statistics.
-d, --storage-dir dir
Manage custom library storage directory.
-g, --global
Work with global PlatformIO library storage.
-e, --environment name
Target a specific project build environment.

INSTALL

yay -S pio

SEE ALSO

pio-pkg(1), pio-init(1), pio-run(1), pio(1)