參考資訊:
https://swf.com.tw/?p=1840
https://arduino.github.io/arduino-cli/0.31/installation/
$ cd $ wget https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Linux_64bit.tar.gz $ tar xvf arduino-cli_latest_Linux_64bit.tar.gz $ sudo mv arduino-cli /usr/local/bin/ $ arduino-cli core install arduino:avr Downloading packages... arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7 downloaded arduino:avrdude@6.3.0-arduino17 downloaded arduino:arduinoOTA@1.3.0 downloaded arduino:avr@1.8.6 downloaded Installing arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7... Configuring tool.... arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7 installed Installing arduino:avrdude@6.3.0-arduino17... Configuring tool.... arduino:avrdude@6.3.0-arduino17 installed Installing arduino:arduinoOTA@1.3.0... Configuring tool.... arduino:arduinoOTA@1.3.0 installed Installing platform arduino:avr@1.8.6... Configuring platform.... Platform arduino:avr@1.8.6 installed