System: mac os 12.3.1
Board: Arduino UNO
PlatformIO Core, version 5.2.5
$ pio run -t upload
Looking for upload port...
**Error: Please specify `upload_port` for environment or use global `--upload-port` option.**
For some development platforms it can be a USB flash drive (i.e. /media/<user>/<device name>)
*** [upload] Explicit exit, status 1
$ pio device list
platformio.ini
System: mac os 12.3.1 Board: Arduino UNO PlatformIO Core, version 5.2.5
$ pio run -t upload