Skip to content

lib upgrade

arduino-cli lib upgrade

Upgrades installed libraries.

Synopsis

This command upgrades an installed library to the latest available version. Multiple libraries can be passed separated by a space. If no arguments are provided, the command will upgrade all the installed libraries where an update is available.

arduino-cli lib upgrade [flags]

Examples

  arduino-cli lib upgrade
  arduino-cli lib upgrade Audio
  arduino-cli lib upgrade Audio ArduinoJson

Options

  -h, --help   help for upgrade

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