Install with winget
winget
winget install ArduinoSA.CLI
Package Details
About Arduino CLI
Arduino CLI is the official command-line tool from Arduino for compiling and uploading Arduino sketches, managing boards and libraries, and automating Arduino workflows. It provides all the functionality of the Arduino IDE in a scriptable CLI, making it ideal for CI/CD pipelines, headless servers, and developers who prefer terminal-based workflows.
Frequently Asked Questions
Do I need the Arduino IDE to use Arduino CLI?
No. Arduino CLI is completely standalone. You can compile and upload sketches, install libraries, and manage boards entirely from the command line.
Can Arduino CLI be used in CI/CD pipelines?
Yes. That is one of its primary use cases. Arduino CLI can be automated in GitHub Actions, Jenkins, or any CI system to build and test firmware.
How do I install boards with Arduino CLI?
Use arduino-cli core update-index to update the index, then arduino-cli core install arduino:avr (or your board platform) to install board support.
Does Arduino CLI work with third-party boards?
Yes. You can add third-party board manager URLs in the configuration file to support ESP32, RP2040, and other non-official Arduino platforms.