arduino-cli
Command-line tool for Arduino boards: board and library managers, sketch builder, board detection, and uploader, usable from a shell or machine interfaces.
Arduino CLI provides board and library management, sketch compilation, board detection, and uploading from the terminal. It lets developers use local editors and shell scripts for Arduino-compatible projects, and exposes machine-readable interfaces for other tools.
A typical workflow begins with arduino-cli core update-index to refresh available platforms and arduino-cli board list to inspect connected boards. Install the matching platform core, select the board identifier, then compile and upload the sketch. arduino-cli sketch new creates a sketch directory, while the library commands manage project dependencies.
Configuration can be stored in an arduino-cli.yaml file created by arduino-cli config init. Commands provide their own help, and JSON output supports scripting. It suits embedded developers and hobbyists who want repeatable command-line builds and uploads instead of relying on an open IDE. Board support, upload settings, and required toolchains depend on the selected platform.
Installation
# via Homebrew
brew install arduino-cli
Alternatives & related tools
freeze
Generate PNG, SVG, and WebP images of code and terminal output with syntax highlighting and customizable styling.
Docker CLI
Source repository for the Docker command-line client, written in Go and built with docker buildx bake, with cross-platform and glibc/musl build targets.
vfox
Cross-platform, plugin-based version manager for runtimes such as Java, Node.js, Go, Python, Flutter and .NET, with per-project, per-shell and global versions.
Popeye
Read-only scanner that lints live Kubernetes clusters for misconfigurations, unused resources, and over/under allocation, with console, JSON, and HTML reports.
Krew
Package manager for kubectl plugins: discover, install, and manage plugins from a central index, similar to apt, dnf, or brew.
add a badge to your README
Maintain arduino-cli? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/arduino-cli?utm_source=badge)<a href="https://www.trmn.sh/tools/arduino-cli?utm_source=badge"><img src="https://www.trmn.sh/badge/arduino-cli.svg" alt="Featured on trmn" height="20"></a>