- Install Particle CLI
- Linux/Mac:
npm install -g particle-cli
- Windows: download the installer since it doesn't readily build on Windows
- Linux/Mac:
particle login
(note: requires two-factor auth)
npm run build
- To a flash a USB-connected device, run
npm run firmware:flash
- For a USB-connected device, run
npm run firmware:monitor
to monitor it via serial-over-USB. Useparticle serial list
to disambiguate ports and devices if need be.