Step1. go to http://nodejs.org/dist/download the required Node. js (for example, the latest version of the link) Step2. Unzip: tar & ndash; xfnode-v0.12.7-linux-x64.t
Step1.
Go to http://nodejs.org/dist/and download the required Node. js
(For example, the latest version is http://nodejs.org/dist/v0.12.7/. download node-v0.12.7-linux-x64.tar.gz)
Step2.
Unzip: tar-xf node-v0.12.7-linux-x64.tar.gz
Configure environment variables (add bin under node to environment variables)
Step (use the express application generator)
Run: npm install express-generator-g
The following content will be prompted after completion.
Step4.
Run the command cd test as prompted.
npm install
Then run npm start.
You can open the browser and enter localhost: 3000 in the address bar. if the following interface is displayed, it indicates that the installation is successful.