Access the CLI from the new IDE?

I've downloaded the 2.0.0-beta.7 of the new IDE, and I understand that this is written on top of the arduino-cli tool. So is there a way to access the CLI from the IDE installation? At the moment I've separately downloaded the CLI, and added it to my Windows Path.

If I remove my manual installation (but keep the IDE) and then type arduino-cli in a terminal, it doesn't find anything.

[See this post on Reddit].

Hi @Anuj_Verma. There is a copy of Arduino CLI bundled with your Arduino IDE 2.x installation in this subfolder:

resources\app\node_modules\arduino-ide-extension\build

You can use it just the same as you would an independent installation of Arduino CLI.

Since you're interested in Arduino CLI, I'll mention that when it is in use by Arduino IDE 2.x, the Arduino CLI configuration file in effect is the one located here:

C:\Users\<user name>\.arduinoIDE

It's not necessary for the average Arduino IDE user to know that, nor even what Arduino CLI is, but people interested in doing more advanced things might find it useful information.

1 Like

That's exactly what I needed, thanks a lot!

You're welcome. I'm glad if I was able to be of assistance. Enjoy!
Per