New in version 6.0.
pio pkg list [OPTIONS]
Print to stdout installed packages and their dependencies in a tree structure based on project dependencies declared in “platformio.ini” (Project Configuration File):
Library dependencies declared using the lib_deps option
Development platform declared using the platform option and its dependencies (toolchain, framework, SDKs, debugging server, etc)
Custom tools declared using the platform_packages option.
Globally installed packages can be listed using the pio pkg list --global
option.
Specify the path to project directory. By default, --project-dir
is equal
to current working directory (CWD
).
List installed packages only for the specified environments. Multiple environments are allowed.
Filter installed platform package using Package Specifications. Multiple items are allowed.
Filter installed tool package using Package Specifications. Multiple items are allowed.
Filter installed library package using Package Specifications. Multiple items are allowed.
List installed packages from the global storage:
platforms_dir - development platforms
packages_dir - tools
globallib_dir - libraries.
Specify a custom Package Manager storage for global packages.
Print only installed platform packages.
Print only installed tool packages.
Print only installed library packages.
Print additional package information.