Why using arduino-cli is better than building from Arduino IDE
embeddedk8.com·3h·
Discuss: DEV
Flag this post

Do you know that you don’t actually need the Arduino IDE to build and upload sketches?

Arduino projects can be compiled and uploaded straight from the command line using the Arduino Command Line Interface (CLI). This process is identical to what happens when you build and upload from the IDE, because Arduino IDE 2.0 and later use arduino-cli under the hood.

By working directly with the CLI, you remove the IDE as a middle layer and gain more possibilities and control over your builds.

Reasons to use Arduino CLI

If you were comfortable using IDE, you may not immediately see why would you use Arduino CLI instead.

In Arduino Exchange forum you can find suggestion that

[“If you have to ask what the benefits are then the benefits most likely do not apply to or interes…

Similar Posts

Loading similar posts...