Arduino CLI quick start

Arduino CLI quick start

as user

$ wget
$ tar zxvf arduino-cli_latest_Linux_64bit.tar.gz

as root

# cd /opt
# mkdir arduino-cli
# cp ~$USER/arduino-cli arduino-cli
# ln -s /opt/arduino-cli/arduino-cli /usr/bin

# adduser $USER dialout
# adduser $USER tty


$ arduino-cli core update-index


$ lsusb

Bus 001 Device 003: ID 2341:0043 Arduino SA Uno R3 (CDC ACM)
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


$ arduino-cli board list

Port         Type              Board Name  FQBN            Core       
/dev/ttyACM0 Serial Port (USB) Arduino Uno arduino:avr:uno arduino:avr
/dev/ttyS0   Serial Port       Unknown                                
/dev/ttyS1   Serial Port       Unknown


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.