Node源码安装
wget https://nodejs.org/dist/v12.16.3/node-v12.16.3.tar.gz
tar zxvf node-v12.16.3.tar.gz
cd node-v12.16.3
./configure
make
sudo make install
node —version
小于 1 分钟
wget https://nodejs.org/dist/v12.16.3/node-v12.16.3.tar.gz
tar zxvf node-v12.16.3.tar.gz
cd node-v12.16.3
./configure
make
sudo make install
node —version
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash