How to manually install Arduino CLI - PeterWone/vscode-arduino-cli GitHub Wiki

Mac and Linux

Instructions for installing the CLI can be found at https://arduino.github.io/arduino-cli/latest/installation/#use-the-install-script

Windows systems

  1. Determine platform bitness and fetch one of

  2. Open the zip file and extract the executable somewhere in your filesystem. In my case I created the folder C:\Program Files\Arduino-CLI and put it there but the location is at your discretion. Make a note of where it is so you can put the path in settings after the extension is installed.

  3. To put the arduino-cli path in settings

    1. Ensure the extension is installed
    2. Open settings by typing Ctrl+, (Ctrl+comma)
    3. Browse to the extension settings for Arduino-CLI and find Arduino CLI: Path
    4. Supply the path you chose. Notice that this is the fully qualified file name, not the folder containing it.

It is also a good idea to ensure the folder containing arduino-cli.exe is on the system path. However, this is not necessary for the extension to work and doing this does not allow you to use the short form (just the exe name) in the extension settings.

image