bash
$ cd /opt/
$ wget https://npm.taobao.org/mirrors/node/v14.17.2/node-v14.17.2-linux-x64.tar.xz
$ xz -d
$ xz -d node-v14.17.2-linux-x64.tar.xz
$ tar -xf
$ tar -xf node-v14.17.2-linux-x64.tar
$ echo "export NODE_HOME=/opt/node-v14.17.2-linux-x64" >> /etc/profile
$ echo "export PATH=\$NODE_HOME/bin:$PATH" >> /etc/profile
$ source /etc/profile
$ node -v
$ npm -v