Arduino setup¶
Install Arduino¶
Note
You need GitHub CLI (gh
).
Download and install Arduino.
gh release download --repo arduino/arduino-ide --archive=zip --dir arduino-temp
unzip arduino-temp/*.zip
sudo mv $(( ls -Art arduino-temp/ | tail -n 1 )) /opt/arduino
rm -r arduino-temp
Install the latest from the Arduino GitHub downloads.
gh release download --repo arduino/arduino-ide --archive=dmg --dir arduino-temp
open -a $(( ls -Art arduino-temp/*.dmg | tail -n 1 ))
rm -r arduino-temp/