- 更新
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
本文标题:CentOS安装Node
本文链接:https://www.haomeiwen.com/subject/ugbmvktx.html
网友评论