I. Download and install node. js
https://nodejs.org/download/
Double-click to run the installation (default installation address: C:\Program Files\nodejs or C:\Program Files (x86) \nodejs)
Double-click to run the installation (default installation address: C:\Program Files\nodejs or C:\Program Files (x86) \nodejs)
Second, running Cmd.exe
C:\users\administrator>npm-v
If error:
Change system Environment variables: Add NPM Installation path: Preceded by semicolon separated '; C:\USERS\ADMINISTRATOR\APPDATA\ROAMING\NPM '
Third, install Express
C:\USERS\ADMINISTRATOR>NPM Install Express-g because the command tool was separated from the express4.0 version (project address: https://github.com/expressjs/ Generator), so we also need to install a command tool, the command is as follows: C:\USERS\ADMINISTRATOR>NPM install-g express-generator
Iv. Installation of Jade
C:\USERS\ADMINISTRATOR>NPM Install Jade-g
V. Installation of Coffeescript
C:\USERS\ADMINISTRATOR>NPM Install Coffee-script-g
(The V here is lowercase)
Vi. Creating Project
node. JS notes-(i), installation