标签:fedora das node bash setup silent nodejs nod ash
对于 RHEL, CentOS or Fedora 系统,Node.js v8 LTS版本命令:
curl –silent –location https://rpm.nodesource.com/setup_8.x | sudo bash -
而 Node.js 10 的命令:
curl –silent –location https://rpm.nodesource.com/setup_10.x | sudo bash -
然后安装:
sudo yum -y install nodejs
替换npm为淘宝源码
npm install -g cnpm - -registry=https://registry.npm.taobao.org
标签:fedora das node bash setup silent nodejs nod ash
原文地址:https://www.cnblogs.com/mafeng/p/10749092.html