1, to the official website to download and its own system matching files:
English website: https://nodejs.org/en/download/
English Address: http://nodejs.cn/download/
Through the uname-a command to see my Linux system number of BITS is 64 bits (note: x86_64 represents 64-bit system, i686 i386 represents 32-bit system),
So download the red box file, version v6.10.0
2, download the tar file uploaded to the server and unzip, and then through the establishment of a soft connection into the global;
1) The upload server can be its own arbitrary path, currently my placement path is cd/app/software/
2) Unzip the upload (unzip the file I will change the name to Nodejs, this place own arbitrary, as long as the establishment of a soft connection when the right to write it)
①TAR-XVF NODE-V6.10.0-LINUX-X64.TAR.XZ
②MV node-v6.10.0-linux-x64 Nodejs
③ confirm that the Nodejs Bin directory has node and NPM files, if there is a soft connection, if there is no re-download to perform the top step;
3) Create a soft connection and become a global
①ln-s/app/software/nodejs/bin/npm/usr/local/bin/
②ln-s/app/software/nodejs/bin/node/usr/local/bin/
4) The final step verifies whether the Nodejs has changed to a global
The linux command line NODE-V command will display the Nodejs version for the finished
Easiest steps to install Nodejs Linux system