arduino
Integrated development environment for Arduino boards
TLDR
SYNOPSIS
arduino [--verify|--upload] [--board board] [--port port] [sketch]
DESCRIPTION
arduino is the Arduino Integrated Development Environment (IDE) for programming Arduino microcontroller boards. It provides a code editor, compiler, and upload functionality for Arduino sketches.The command-line interface enables headless compilation and upload, useful for CI/CD pipelines and scripting.
PARAMETERS
--verify
Compile sketch without uploading--upload
Compile and upload to board--board fqbn
Fully qualified board name--port port
Serial port for upload--pref name=value
Set preference--save-prefs
Save preferences and exit--get-pref name
Print preference value--install-boards package:platform
Install board package--install-library name
Install library
CONFIGURATION
~/.arduino15/preferences.txt
IDE preferences including board defaults, editor settings, and additional board manager URLs.
CAVEATS
These command-line flags belong to the legacy Arduino IDE 1.x, which is no longer in active development. Arduino IDE 2.x and the standalone arduino-cli are the recommended tools for headless builds and scripting. Board support packages may need installation for non-AVR boards, and serial port permissions may require adding your user to the dialout group on Linux.
HISTORY
The Arduino project was started at the Ivrea Interaction Design Institute in 2005. The classic IDE (and its `arduino` command-line interface) served as the primary development environment until it was superseded by Arduino IDE 2.x and arduino-cli.
SEE ALSO
arduino-cli(1), avrdude(1), platformio(1)
