CentOS安装Node
2020-11-02 本文已影响0人
竹天亮
- 更新
sudo yum update
- 将NodeSource添加到yum,当前最新版本为14
curl –sL https://rpm.nodesource.com/setup_14.x | sudo bash -
sudo yum install –y nodejs
node -version
sudo yum update
curl –sL https://rpm.nodesource.com/setup_14.x | sudo bash -
sudo yum install –y nodejs
node -version