ADVANCED / Embedded
Arduino CLI
Command-line access to Arduino board packages, compilation, uploads and libraries.
Why use it
Useful for repeatable build checks, automation and CI; a future pass could compile all 29 existing Uno lab sketches with the AVR core.
- board management
- compile
- upload
- automation
- CI
Windows · macOS · Linuxoptionalactive
Getting started
Follow the official installation guide; install Arduino AVR Boards and select arduino:avr:uno when compiling for Uno R3.
Check: Run arduino-cli version; for actual lab validation later, compile each sketch against arduino:avr:uno in a correctly named sketch directory.
Optional diagnostic commands
Check Arduino CLI version
Windows · PowerShell · Automating or compiling sketches outside the IDE.
arduino-cli version
An Arduino CLI version line.
Command not found means this optional CLI is not available on PATH; Arduino IDE can still work normally.
Related tools and references