Arduino cli lib install








































lib install

arduino-cli lib install

Installs one or more specified libraries into the system.

Synopsis

Installs one or more specified libraries into the system.

1arduino-cli lib install LIBRARY[@VERSION_NUMBER]... [flags]

Examples

1arduino-cli lib install AudioZero # for the latest version.
2 arduino-cli lib install AudioZero@1.0.0 # for the specific version.
3 arduino-cli lib install --git-url https://github.com/arduino-libraries/WiFi101.git https://github.com/arduino-libraries/ArduinoBLE.git
4 arduino-cli lib install --git-url https://github.com/arduino-libraries/WiFi101.git#0.16.0 # for the specific version.
5 arduino-cli lib install --zip-path /path/to/WiFi101.zip /path/to/ArduinoBLE.zip

Options

1--git-url Enter git url for libraries hosted on repositories
2 -h, --help help for install
3 --install-in-builtin-dir Install libraries in the IDE-Builtin directory
4 --no-deps Do not install dependencies.
5 --no-overwrite Do not overwrite already installed libraries.
6 --zip-path Enter a path to zip file

Options inherited from parent commands

1--additional-urls strings Comma-separated list of additional URLs for the Boards Manager.
2 --config-dir string Sets the default data directory (Arduino CLI will look for configuration file in this directory).
3 --config-file string The custom config file (if not specified the default will be used).
4 --json Print the output in JSON format.
5 --log Print the logs on the standard output.
6 --log-file string Path to the file where logs will be written.
7 --log-format string The output format for the logs, can be: text, json (default "text")
8 --log-level string Messages with this level and above will be logged. Valid levels are: trace, debug, info, warn, error, fatal, panic (default "info")
9 --no-color Disable colored output.

SEE ALSO

In this page you can check the latest version of the Arduino CLI. You can find previous versions here.