Ever wonder which is the latest version of Arduino IDE currently released?
Now you can know it, programmatically!
You can know witch is the latest version of arduino available by hitting this URL:
https://arduino-cli.github.io/arduino-version/latest
You can get the list of all available versions of arduino by hitting this URL:
https://arduino-cli.github.io/arduino-version/list
$ curl https://arduino-cli.github.io/arduino-version/latest
$ curl https://arduino-cli.github.io/arduino-version/list
const request = require('request');
const latest_endpoint = 'https://arduino-cli.github.io/arduino-version/latest';
const list_endpoint = 'https://arduino-cli.github.io/arduino-version/list';
request(latest_endpoint, function (error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body) // Shows the version on the console.
}
});
request(list_endpoint, function (error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body.split(',')) // Shows the list on the console.
}
});
Binaries of the Arduino IDE can be downloaded from the mirrors below:
Binaries for arm platforms are available only in those versions:
1.6.9-1.6.13
and>=1.8.0
Only versions
>=1.8.0
pass tests on all OSs
The latest version available can be verified here.
- Simone Primarosa - simonepri
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.