Skip to content

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.

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

Examples

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

Options

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

Options inherited from parent commands

      --additional-urls strings   Comma-separated list of additional URLs for the Boards Manager.
      --config-file string        The custom config file (if not specified the default will be used).
      --format string             The output format for the logs, can be: text, json, jsonmini, yaml (default "text")
      --log-file string           Path to the file where logs will be written.
      --log-format string         The output format for the logs, can be: text, json
      --log-level string          Messages with this level and above will be logged. Valid levels are: trace, debug, info, warn, error, fatal, panic
      --no-color                  Disable colored output.
  -v, --verbose                   Print the logs on the standard output.

SEE ALSO