How to find the serial port of a USB device

Identify the COM port, /dev/ttyUSB or /dev/cu device for an Arduino, ESP32 or USB-serial adapter on Windows, Linux and macOS.

Beginner · about 4 min · Windows, Linux, macOS

Every flashing tool, serial monitor and modem utility needs one thing from you: the port name. The reliable trick on all three platforms is to list ports with the device unplugged, plug it in, and list again — the new entry is yours.

What this guide covers

Common pitfalls covered

Questions answered

This is a limited preview. The full walkthrough, command syntax and copy-ready examples are available to signed-in users.

Sign in to read the full page