pio pkg list
Usage
pio pkg list [OPTIONS]
Description
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.
Options
- -d, --project-dir
Specify the path to project directory. By default, --project-dir
is equal
to current working directory (CWD
).
- -e, --environment
List installed packages only for the specified environments. Multiple environments are allowed.
- -p, --platform
Filter installed platform package using Package Specifications. Multiple items are allowed.
- -t, --tool
Filter installed tool package using Package Specifications. Multiple items are allowed.
- -l, --library
Filter installed library package using Package Specifications. Multiple items are allowed.
- -g, --global
List installed packages from the global storage:
platforms_dir - development platforms
packages_dir - tools
globallib_dir - libraries.
- --storage-dir
Specify a custom Package Manager storage for global packages.
- --only-platforms
Print only installed platform packages.
- --only-tools
Print only installed tool packages.
- --only-libraries
Print only installed library packages.
- -v, --verbose
Print additional package information.