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 setup.particle.io 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.
Next we're going to install the Particle CLI on your computer.
Open Terminal, or preferred terminal program and paste this command to install the Particle CLI:
bash <( curl -sL https://particle.io/install-cli )
You may need to open a new terminal after the install completes to use the
If you get a message about installing dfu-util for your OS, make sure you have homebrew installed and run the command above again.
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.
To check that your Electron can talk over USB, open a terminal and
However to finish setting up your device, you will need to follow the instructions at https://setup.particle.io.
If your device is not connecting, try troubleshooting here.
Once you've finished connecting your device, head over to the next section to learn about the different modes for your device.