Skip to content

lib upgrade

arduino-cli lib upgrade

Upgrades installed libraries.


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]


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


  -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).
      --json                      Print the output in JSON format.
      --log                       Print the logs on the standard output.
      --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 (default "text")
      --log-level string          Messages with this level and above will be logged. Valid levels are: trace, debug, info, warn, error, fatal, panic (default "info")
      --no-color                  Disable colored output.