Node.js

Node.js

Installation

To install Node.js, click one of the big, green download links on the web site.

Note

Node version numbers are confusing, but either the LTS version (6.10.2 as of this writing) or the Current version (7.9.0) will do for our purposes.

Testing your installation

After Node is installed, close Hyper and reopen it. That way, node and other related commands will be available to you from any folder. Test your installation by running the following command:

WINGW64:/c/Users/user
 
npm install -g create-react-app

You should see a progress bar of sorts while packages download and, eventually, a tree structure of various package names and version numbers. As you may have guessed, aside from testing your Node installation, this has the side effect of installing create-react-app, which we’ll later use to do exactly what its name suggests.

Yarn

Yarn is an alternative to NPM that offers several advantages—not the least of which is speed.

Download the installer from the Yarn site, and run it.

Testing Yarn

Once Yarn is installed, run this command to test it:

WINGW64:/c/Users/user
 
yarn global add eslint