Faster, Higher, Stronger
更快,更高,更强

Install Nodejs via package manager on CentOS

I installed Nodejs according to the Nodejs official online instructions.

My operation system is Centos 6.5 64bit. Memory is 1.95GB. And disk space is 15 GB.

Installing result is as below:

#node -v
v6.10.0

#npm -v
3.10.10

Instructions:

  1. Run as root on CentOS, for Node.js v6 LTS:
curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -
  1. Then install, as root:
yum -y install nodejs
  1. Check
node -v

npm -v

Reference:

  • https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora
赞(0) 打赏
未经允许不得转载:峰间的云 » Install Nodejs via package manager on CentOS

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏