Connecting your Device over USB

The easiest way to connect your device to cellular network is using the browser as described in the previous lesson. It's worth noting here that you currently cannot set up an Electron from the command line (CLI) because we require that a credit card number be entered, but the CLI will be extremely useful for other things. Please use or the mobile apps.

For all of the following methods, the device must be in Listening Mode, where the RGB LED is blinking blue.

Particle devices boot into listening mode by default, so if your device is brand new, it should go straight into listening mode. If your device is not blinking blue, hold down the MODE button.

Install the Particle CLI

Next we're going to install the Particle CLI on your computer.

Using macOS or Linux

Open Terminal, or preferred terminal program and paste this command to install the Particle CLI:

bash <( curl -sL )

You may need to open a new terminal after the install completes to use the particle command.

If you get a message about installing dfu-util for your OS, make sure you have homebrew installed and run the command above again.

Using Windows

Download the Windows CLI Installer and run it to install the Particle CLI, the device drivers and the dependencies that the CLI needs.

You'll need to open the command prompt for this next part. You can also use Powershell or a similar command line tool if that is what you are used to.

To open the command prompt: 1) Mouse over the upper right hand corner of the screen and select "Search" 2) Search for cmd in the search box 3) Click on Command Prompt

Now your Command Prompt, is open for use.

Connecting Your Device

To check that your Electron can talk over USB, open a terminal and type particle setup.

However to finish setting up your device, you will need to follow the instructions at

If your device is not connecting, try troubleshooting here.

More info on the CLI and steps to install it manually are available.

Once you've finished connecting your device, head over to the next section to learn about the different modes for your device.