CmdID

CmdID / Commands

arduino

Arduino Studio - Integrated Development Environment for the Arduino platform. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Build a sketch

arduino --verify path/to/file.inoIdentify

Build and upload a sketch

arduino --upload path/to/file.inoIdentify

Build and upload a sketch to an Arduino Nano with an Atmega328p CPU, connected on port /dev/ttyACM0

arduino --board arduino:avr:nano:cpu=atmega328p --port /dev/ttyACM0 --upload path/to/file.inoIdentify

Set the preference name to a given value

arduino --pref name=valueIdentify

Build a sketch, put the build results in the build directory, and reuse any previous build results in that directory

arduino --pref build.path=path/to/build_directory --verify path/to/file.inoIdentify

Save any (changed) preferences to preferences.txt

arduino --save-prefsIdentify

Install the latest SAM board

arduino --install-boards "arduino:sam"Identify

Install Bridge and Servo libraries

arduino --install-library "Bridge:1.0.0,Servo:1.2.0"Identify