LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pio-lib

manages PlatformIO libraries (deprecated, use pio pkg)

TLDR

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

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.

SEE ALSO

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

Copied to clipboard
Kai