Global web icon
arduino.github.io
https://arduino.github.io/arduino-cli/1.3/
Arduino CLI
Arduino CLI is an all-in-one solution that provides Boards/Library Managers, sketch builder, board detection, uploader, and many other tools needed to use any Arduino compatible board and platform from command line or machine interfaces.
Global web icon
arduino.github.io
https://arduino.github.io/arduino-cli/0.21/install…
Installation - Arduino CLI
If you're familiar with Golang or if you want to contribute to the project, you will probably build Arduino CLI locally with your Go toolchain. See the "How to contribute" page for instructions.
Global web icon
arduino.github.io
https://arduino.github.io/arduino-cli/dev/getting-…
Getting started - Arduino CLI
Getting started Arduino CLI provides all the features you can find in the Arduino IDE. Let's see some examples. Before you start arduino-cli is a container of commands and each command has its own dedicated help text that can be shown with the help command like this:
Global web icon
arduino.github.io
https://arduino.github.io/arduino-cli/0.19/
Arduino CLI - GitHub Pages
Arduino CLI is an all-in-one solution that provides Boards/Library Managers, sketch builder, board detection, uploader, and many other tools needed to use any Arduino compatible board and platform.
Global web icon
arduino.github.io
https://arduino.github.io/arduino-cli/dev/commands…
arduino-cli - Arduino CLI - GitHub Pages
--config-dir string Sets the default data directory (Arduino CLI will look for configuration file in this directory). --config-file string The custom config file (if not specified the default will be used).
Global web icon
arduino.github.io
https://arduino.github.io/arduino-cli/0.21/configu…
Configuration - Arduino CLI
The variable names start with ARDUINO, followed by the configuration key names, with each component separated by _. For example, the ARDUINO_DIRECTORIES_USER environment variable sets the directories.user configuration option.
Global web icon
arduino.github.io
https://arduino.github.io/arduino-cli/1.1/configur…
Configuration - Arduino CLI
For example, the ARDUINO_DIRECTORIES_USER environment variable sets the directories.user configuration option. On Linux or macOS, you can use the export command to set environment variables.
Global web icon
arduino.github.io
https://arduino.github.io/arduino-cli/dev/commands…
compile - Arduino CLI
--config-dir string Sets the default data directory (Arduino CLI will look for configuration file in this directory). --config-file string The custom config file (if not specified the default will be used). --json Print the output in JSON format. --log Print the logs on the standard output.
Global web icon
arduino.github.io
https://arduino.github.io/arduino-cli/dev/configur…
Configuration - Arduino CLI
If a configuration option is not set, Arduino CLI uses a default value. arduino-cli config dump displays the current configuration values. Command line flags Arduino CLI's command line flags are documented in the command line help and the Arduino CLI command reference. Example
Global web icon
arduino.github.io
https://arduino.github.io/arduino-cli/1.1/platform…
Platform specification - Arduino CLI
Starting from Arduino CLI 0.9.0 / Arduino IDE 2.x, sketch debugging support is available for platforms. The debug action is triggered when the user clicks the Debug button in the Arduino IDE or runs the arduino-cli debug command.