Arduino CLI Interactive
Arduino CLI Interactive (aci
)
This is a tool that was mainly created for Arduino users who just changed to Linux.
Normally in Linux, the official Arduino IDE requires a lot of permissions to be able to compile and upload the Arduino code. The Arduino Foundation then created the Arduino CLI tool to reduce the amount of permissions asked.
But there is one teeny little problem, the Arduino CLI has a bit of a learning curve.
For example :
To compile code for Arduino Uno
arduino-cli compile -b arduino:avr:uno <sketch_name>
And to upload code
arduino-cli upload -b arduino:avr:uno -p <port> <sketch_name>
Here arduino:avr:uno
is something known as FQBN (Fully Qualified Board Name)
This is fine for one or 2 boards. Let's say you have multiple boards of differring types say, an Arduino Uno, ESP32, Nordic Boards, Teensy boards etc, remembering the FQBN (Fully Qualified Board Name) is kinda hard.
Here's where aci
comes in. Here you get to select the boards by name and not by FQBN. This makes it easier to compile and upload the code.