1
1
<!-- Source: https://github.com/arduino/tooling-project-assets/blob/main/other/installation-script/installation.md -->
2
2
3
+ Several options are available for installation of Arduino Lint. Instructions for each are provided below:
4
+
3
5
## Use the install script
4
6
5
- The script requires ` sh ` , which is always available on Linux and macOS. ` sh ` is not available by default on Windows. The
6
- script can be run on Windows by installing [ Git for Windows] ( https://gitforwindows.org/ ) , then running it from Git Bash.
7
+ The script requires ` sh ` , which is always available on Linux and macOS. ` sh ` is not available by default on Windows,
8
+ though it is available as part of [ Git for Windows] ( https://gitforwindows.org/ ) (Git Bash). If you don't have ` sh `
9
+ available, use the [ "Download" installation option] ( #download ) .
7
10
8
11
This script will install the latest version of Arduino Lint to ` $PWD/bin ` :
9
12
@@ -18,7 +21,8 @@ curl -fsSL https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/insta
18
21
```
19
22
20
23
If you would like to use the ` arduino-lint ` command from any location, install Arduino Lint to a directory already in
21
- your ` PATH ` or add the Arduino Lint installation path to your ` PATH ` environment variable.
24
+ your [ ` PATH ` ] ( https://en.wikipedia.org/wiki/PATH%5F%28variable%29 ) or add the Arduino Lint installation path to your
25
+ ` PATH ` environment variable.
22
26
23
27
If you want to download a specific Arduino Lint version, for example ` 0.9.0 ` or ` nightly-latest ` , pass the version
24
28
number as a parameter like this:
@@ -27,14 +31,15 @@ number as a parameter like this:
27
31
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/install.sh | sh -s 0.9.0
28
32
```
29
33
30
- ### Download
34
+ ## Download
31
35
32
36
Pre-built binaries for all the supported platforms are available for download from the links below.
33
37
34
38
If you would like to use the ` arduino-lint ` command from any location, extract the downloaded file to a directory
35
- already in your ` PATH ` or add the Arduino Lint installation path to your ` PATH ` environment variable.
39
+ already in your [ ` PATH ` ] ( https://en.wikipedia.org/wiki/PATH%5F%28variable%29 ) or add the Arduino Lint installation path
40
+ to your ` PATH ` environment variable.
36
41
37
- #### Latest release
42
+ ### Latest release
38
43
39
44
| Platform | | |
40
45
| --------- | -------------------- | -------------------- |
@@ -51,11 +56,11 @@ already in your `PATH` or add the Arduino Lint installation path to your `PATH`
51
56
[ windows32 ] : https://downloads.arduino.cc/arduino-lint/arduino-lint_latest_Windows_32bit.zip
52
57
[ macos ] : https://downloads.arduino.cc/arduino-lint/arduino-lint_latest_macOS_64bit.tar.gz
53
58
54
- #### Previous versions
59
+ ### Previous versions
55
60
56
61
These are available from the "Assets" sections on the [ releases page] ( https://github.com/arduino/arduino-lint/releases ) .
57
62
58
- #### Nightly builds
63
+ ### Nightly builds
59
64
60
65
These builds are generated every day at 01:00 GMT from the ` main ` branch and should be considered unstable. In order to
61
66
get the latest nightly build available for the supported platform, use the following links:
@@ -81,7 +86,7 @@ get the latest nightly build available for the supported platform, use the follo
81
86
Checksums for the nightly builds are available at
82
87
` https://downloads.arduino.cc/arduino-lint/nightly/nightly-<DATE>-checksums.txt `
83
88
84
- ### Build from source
89
+ ## Build from source
85
90
86
91
If you're familiar with Golang or if you want to contribute to the project, you will probably build Arduino Lint locally
87
92
with your Go toolchain. See the [ "How to contribute"] ( CONTRIBUTING.md#building-the-source-code ) page for instructions.
0 commit comments