LinuxCommandLibrary

particle

A command-line tool for interacting with Particle devices.

TLDR

Log in or create an account for the Particle CLI

$ particle setup
copy


Display a list of devices
$ particle list
copy


Create a new Particle project interactively
$ particle project create
copy


Compile a Particle project
$ particle compile [device_type] [path/to/source_code.ino]
copy


Update a device to use a specific app remotely
$ particle flash [device_name] [path/to/program.bin]
copy


Update a device to use the latest firmware via serial
$ particle flash --serial [path/to/firmware.bin]
copy


Execute a function on a device
$ particle call [device_name] [function_name] [function_arguments]
copy

Copied to clipboard