2022年8月03日
-
yum install git
git version
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
git clone git://github.com/creationix/nvm.git ~/nvm
command -v nvm
echo "source ~/nvm/nvm.sh" >> ~/.bashrc
source ~/.bashrc
nvm list-remote
nvm install v8.6.0
nvm use v8.6.0
npm -g