Install Node
We will be using a piece of software called Grunt for our build tools. Grunt is a JavaScript framework that does the grunt work for you (get it?). You might recall from Chapter 2 that the execution environment for JavaScript is usually a website within a web browser. Grunt is not a website, and it runs from the command line, not inside a web browser. So even though you do have a way to run JavaScript on your computer, you probably can’t run JavaScript from the command line yet.
You will need to install some software that can execute JavaScript in the environment of the command line. The software we will use is called Node.js. Installing Node.js is actually quite simple:
1. Go to http://nodejs.org/.
2. Click the big button that says ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access