Arduino CLI is an all-in-one solution that provides builder, boards/library manager,
uploader, discovery and many other tools needed to use any Arduino compatible
board and platforms.
Note: this software is currently under active development: anything can change
at any time, API and UI must be considered unstable until we release version 1.0.0.
Necessary plugs
If you are not able to list and/or upload to your board, you may need plugs and connects.
See snap connections arduino-cli for necessary plugs (such as access to USB and serial ports) and connect them with
$ sudo snap connect arduino-cli:<plug>
where <plug> can be in example raw-usb.
Optional plugs
raw-usb: allows access to all connected USB devices via a raw interface.
serial-port: enables access to a specific serial port. This interface is restricted because it provides privileged access to configure serial port hardware. Might require hot-plug support snap set system experimental.hotplug=true followed by systemctl restart snapd.
(Ownership verified)
The publisher has verified that they own this domain.
It does not guarantee the Snap is an official upload
from the upstream project.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Enable snapd
Snap can be installed from the command line. Open the Konsole terminal and enter the following:
sudo apt update
sudo apt install snapd
Install arduino-cli
To install arduino-cli, simply use the following command: