back to node resources

meshtastic CLI meshtastic CLI:




useful Meshtastic CLI commands:



verify node selected:
  meshtastic --info | grep ^Owner:

check node at a port:
  meshtastic --port /dev/cu.usbserial-2 --info | grep ^Owner:

diplay radio info (YAML format):
  meshtastic --export-config

dump your radio's detailed info (JSON format):
  meshtastic --info

print node list table:
  meshtastic --nodes

scan for bluetooth radios:
  meshtastic --ble-scan

set fixed position:
  meshtastic --setlat 42.42977 --setlon -92.32790  # HCC
  meshtastic --setlat 42.47663 --setlon -92.34026  # 1157

delete all discovered nodes and reset fixed position if set:
  meshtastic --reset-nodedb

list channels:
  meshtastic --info | grep -A 20 ^Channels: | grep "  Index "

delete a channel: (cannot delete using computer app)
  meshtastic --ch-index <index> --ch-del

reboot:
  meshtastic --reboot

factory reset:
  meshtastic --set factory_reset 1


notes:

- you should specify your radio's serial port on the first command
  meshtastic --port /dev/cu.usbserial-0001 --export-config
- you may need to add "pipx run " before "meshtastic"





nodes.txt

setting up CLI (macintosh)


Heltec nodes:


my nodes (overwrites all):



highest resolution images
last updated 12/04/2025 at 15:23:24 by make_www_index.command version 2025.11.05.A