Laptop Setup - toSvenson/intro-workshop GitHub Wiki
Prepare your laptop for the workshop
Installing the Particle CLI
Windows
Windows 7, 8.1 or 10 are supported.
Prerequisites:
- Google Chrome webbrowser (Download)
- Visual Studio Community 2015. (Download)
- Node.js v4.2.x (32 or 64 bit) (Donwload)
- Python 2.7.x (NOT 3.x) (32 or 64 bit) (Download)
- Particle driver (if required) (Download)
After the software packages above are installed, you can continue.
First reboot you computer to make sure all software is installed correctly.
Open a command prompt, search for cmd and open the Command Prompt
Verify node, npm and Python are installed correctly:
C:\Users\Sven>node -v
v4.2.2
C:\Users\Sven>npm -v
v2.14.7
C:\Users\Sven>python --version
Python 2.7.11
Ok, now it's time to install Particle CLI:
C:\Users\Sven>npm install -g particle-cli
Now you are ready to login with your Particle account:
C:\Users\Sven>particle login
? Please enter your email address: [email protected]
? Please enter your email address: [email protected]
? Please enter your password: *******
> Successfully completed login!
If you can't wait, the full CLI documentation can be found here.
Show file name extensions
- Open a
File ExplorerWindows (Win-E) - Select the
View-tab - Check the
File name extensions-box
Mac OS X
It's highly recommended to install our packages with Homebrew, so don't wait and just get started.
- XCode from the App Store
- XCode Command Line Tools (read instructions below)
- Homebrew (read instructions below)
First install the XCode Command Line Tools:
$ xcode-select --install
Next install Homebrew:
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
If you receive a permission error on El Capitan, you need to fix this first by following these steps.
To check if Homebrew has been correctly installed:
$ brew doctor