Scroll to navigation

ARDUINO COMMAND LINE MANUAL(1) ARDUINO COMMAND LINE MANUAL(1)

NAME

arduino-cli-monitor - Open a communication port with a board.

SYNOPSIS

arduino-cli monitor [flags]

DESCRIPTION

Open a communication port with a board.

OPTIONS

--board-options=[] List of board options separated by commas. Or can be used multiple times for multiple options.

-c, --config=[] Configure communication port settings. The format is =[,=]...

--describe[=false] Show all the settings of the communication port.

--discovery-timeout=1s Max time to wait for port discovery, e.g.: 30s, 1m

-b, --fqbn="" Fully Qualified Board Name, e.g.: arduino:avr:uno

-h, --help[=false] help for monitor

-p, --port="" Upload port address, e.g.: COM3 or /dev/ttyACM2

-m, --profile="" Sketch profile to use

-l, --protocol="" Upload port protocol, e.g: serial

-q, --quiet[=false] Run in silent mode, show only monitor input and output.

--raw[=false] Set terminal in raw mode (unbuffered).

--timestamp[=false] Timestamp each incoming line.

OPTIONS INHERITED FROM PARENT COMMANDS

--additional-urls=[] Comma-separated list of additional URLs for the Boards Manager.

--config-dir="" Sets the default data directory (Arduino CLI will look for configuration file in this directory).

--config-file="" The custom config file (if not specified the default will be used).

--json[=false] Print the output in JSON format.

--log[=false] Print the logs on the standard output.

--log-file="" Path to the file where logs will be written.

--log-format="text" The output format for the logs, can be: text, json

--log-level="info" Messages with this level and above will be logged. Valid levels are: trace, debug, info, warn, error, fatal, panic

--no-color[=false] Disable colored output.

EXAMPLE


debian/build/bin/arduino-cli monitor -p /dev/ttyACM0
debian/build/bin/arduino-cli monitor -p /dev/ttyACM0 -b arduino:avr:uno
debian/build/bin/arduino-cli monitor -p /dev/ttyACM0 --config 115200
debian/build/bin/arduino-cli monitor -p /dev/ttyACM0 --describe

SEE ALSO

arduino-cli(1)

HISTORY

5-Jul-2026 Auto generated by spf13/cobra

Jul 2026 Auto generated by spf13/cobra