编译安装太慢了
curl -sL https://rpm.nodesource.com/setup_12.x | bash -
sudo yum install epel-release -y
sudo yum install nodejs npm -y --skip-broken
上面这个不好使,用这个
https://github.com/nvm-sh/nvm#install--update-script
编译安装太慢了
curl -sL https://rpm.nodesource.com/setup_12.x | bash -
sudo yum install epel-release -y
sudo yum install nodejs npm -y --skip-broken
上面这个不好使,用这个
https://github.com/nvm-sh/nvm#install--update-script