Skip to content

Installation

Several options are available for installation of Arduino Lint. Instructions for each are provided below:

Use the install script

The script requires sh, which is always available on Linux and macOS. sh is not available by default on Windows, though it is available as part of Git for Windows (Git Bash). If you don't have sh available, use the "Download" installation option.

This script will install the latest version of Arduino Lint to $PWD/bin:

curl -fsSL https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/install.sh | sh

If you want to target a different directory, for example ~/local/bin, set the BINDIR environment variable like this:

curl -fsSL https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/install.sh | BINDIR=~/local/bin sh

If you would like to use the arduino-lint command from any location, install Arduino Lint to a directory already in your PATH or add the Arduino Lint installation path to your PATH environment variable.

If you want to download a specific Arduino Lint version, for example 0.9.0 or nightly-latest, pass the version number as a parameter like this:

curl -fsSL https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/install.sh | sh -s 0.9.0

Download

Pre-built binaries for all the supported platforms are available for download from the links below.

If you would like to use the arduino-lint command from any location, extract the downloaded file to a directory already in your PATH or add the Arduino Lint installation path to your PATH environment variable.

Latest release

Platform
Linux 32 bit 64 bit
Linux ARM 32 bit 64 bit
Windows 32 bit 64 bit
macOS 64 bit
macOS ARM

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 main branch and should be considered unstable. In order to get the latest nightly build available for the supported platform, use the following links:

Platform
Linux 32 bit 64 bit
Linux ARM 32 bit 64 bit
Windows 32 bit 64 bit
macOS 64 bit
macOS ARM 64 bit

These links return a 302: Found response, redirecting to latest generated builds by replacing latest with the latest available build date, using the format YYYYMMDD (i.e for 2019-08-06 latest is replaced with 20190806 )

Checksums for the nightly builds are available at https://downloads.arduino.cc/arduino-lint/nightly/nightly-<DATE>-checksums.txt

Build from source

If you're familiar with Golang or if you want to contribute to the project, you will probably build Arduino Lint locally with your Go toolchain. See the "How to contribute" page for instructions.