CentOS7中安装Node.js长期维护版(LTS)

1、安装Node.js v8 LTS

curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -

2、安装Node.js

yum install -y nodejs

3、验证Node.js版本

node -v

おすすめ

転載: blog.csdn.net/weixin_43876684/article/details/90476720