Installation
Several options are available for installation of Arduino CLI. Instructions for each are provided below:
Install via Homebrew (macOS/Linux)
The Arduino CLI is available as a Homebrew formula since version
0.5.01brew update2brew install arduino-cliCommand line completion
Command line completion files are already bundled in the homebrew installation.
Use the install script
The script requires
shshshThis script will install the latest version of Arduino CLI to
$PWD/bin1curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | shIf you want to target a different directory, for example
~/local/binBINDIR1curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/local/bin shIf you would like to use the
arduino-cliPATHPATHIf you want to download a specific Arduino CLI version, for example
0.9.0nightly-latest1curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh -s 0.9.0Arduino CLI checks for new releases every 24 hours. If you don't like this behaviour you can disable it by setting the
 config or the
env var updater.enable_notification
 to ARDUINO_UPDATER_ENABLE_NOTIFICATION
falseDownload
Pre-built binaries for all the supported platforms are available for download from the links below.
If you would like to use the
arduino-cliPATHPATHLatest release
| Platform | ||
|---|---|---|
| Linux | 32 bit | 64 bit | 
| Linux ARM | 32 bit | 64 bit | 
| Linux ARMv6 | 32 bit | |
| Windows exe | 32 bit | 64 bit | 
| Windows msi | 64 bit | |
| macOS | 64 bit | |
| macOS ARM | 64 bit | 
Previous versions
These are available from the "Assets" sections on the releases page.
Nightly builds
These builds are generated every day at 01:00 GMT from the
master| Platform | ||
|---|---|---|
| Linux | 32 bit | 64 bit | 
| Linux ARM | 32 bit | 64 bit | 
| Linux ARMv6 | 32 bit | |
| Windows exe | 32 bit | 64 bit | 
| Windows msi | 64 bit | |
| macOS | 64 bit | |
| macOS ARM | 64 bit | 
These links return a
response, redirecting to latest generated builds by replacing302: Foundwith the latest available build date, using the format YYYYMMDD (i.e for 2019-08-06latestis replaced withlatest)20190806
Checksums for the nightly builds are available at
https://downloads.arduino.cc/arduino-cli/nightly/nightly-<DATE>-checksums.txtBuild from source
If you're familiar with Golang or if you want to contribute to the project, you will probably build Arduino CLI locally with your Go toolchain. See the "How to contribute" page for instructions.