给 yum 增加 nodejs lts 版本 源
curl --silent --location https://rpm.nodesource.com/setup_lts.x | bash -
执行 安装
sudo yum install -y node
其他版本源
https://github.com/nodesource/distributions
给 yum 增加 nodejs lts 版本 源
curl --silent --location https://rpm.nodesource.com/setup_lts.x | bash -
执行 安装
sudo yum install -y node
其他版本源
https://github.com/nodesource/distributions