1 find the official website Copy Link Address
2 and then follow the path of its own Linux, wget to download and unzip the package
wget https://nodejs.org/dist/v10.16.1/node-v10.16.1-linux-x64.tar.xz tar -zvxf node-v10.16.1-linux-x64.tar.xz
3 configuration environment variable
[root@iZ284ln6xaoZ node-v10.16.1-linux-x64]# vim /etc/profile
#NODE_HOME
export NODE_HOME=/mnt/software/node-v10.16.1-linux-x64
export PATH=$PATH:$NODE_HOME/bin
[root@iZ284ln6xaoZ node-v10.16.1-linux-x64]# source /etc/profile
4 verification environment