node. js and NPM need to be used, so install it.
Looking for tutorials on the internet, many of them are separately installed, all kinds of trouble, and finally in node. JS official website to download the solution. Record it.
If installed in the current environment, directly click on the install will automatically detect the system to download, or click Download, download as needed.
Since I was installed in the Debian system under the virtual machine, I chose to download the source code to compile myself.
Click to download node-v0.10.33.tar.gz
Then copy it to the virtual machine's system and unzip
TAR-ZVXF node-v0.10.33.tar.gz
CD node-v0.10.33
./configure//To detect the installation environment, there is a need to install g++, if not installed g++, can be installed by Apt-get install g++
Make
Make install
Wait a minute, it's ready.
Test Node-v
If output: v0.10.33 indicates correct installation
Same npm-v
Output: 1.4.28
It's already integrated with NPM in the source code package on the official website, so I don't have to install it alone, so I've wasted so much time installing NPM ...
Installation of "Essays" node. js + npm