How to update the arduino-cli ?

When I launching the command in the windows command prompt:

arduino-cli version

It returns that my arduino-cli is an old version 0.32.2, and the new version is 0.33.1
image

I tried the command:

arduino-cli update

But it still the old version.
How can I update the arduino-cli to the new version using the command line?

Hi @wanggaoteng. If you are using a POSIX-compliant shell (Bash, zsh, Git Bash, etc.), you can use the installation script to update Arduino CLI from the command line:

https://arduino.github.io/arduino-cli/latest/installation/#use-the-install-script

Hi, @ptillisch
Thank you.
I have download the pre-built binary release 0.33.1 and copy it to the path of my arduino-cli folder. It works very well.
Does the arduino-cli not have a command for updating ? Something like "arduino-cli update".
Best regards.

It does not. arduino-cli update only downloads the latest versions of the package index and library index data files that are used by the arduino-cli core and arduino-cli lib commands.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.