首页 >
系统 >
linux
centos7 yum方式安装最新版nodejs
时间:2022-01-10 18:14:33 点击: 来源: 作者:
首先去下面网站看下版本,一般新版的也会有:https://github.com/nodesource/distributions/tree/master/rpm然后在终端执行(这里以安装nodejs12为例) :curl --silent --location https://rpm.nodesource.com/setup ...
首先去下面网站看下版本,一般新版的也会有:
https://github.com/nodesource/distributions/tree/master/rpm

然后在终端执行(这里以安装nodejs12为例) :
curl --silent --location https://rpm.nodesource.com/setup_12.x | bash -
yum install nodejs
node --version
npm --version
”您可通过以下微信二维码,赞赏作者“
