It's all about
connecting the dots

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》
文章链接:https://www.orzzone.com/install-nodejs-via-package-manager-on-centos.html
商业联系:yakima.public@gmail.com
本站内容仅供个人学习交流,不做为任何投资、建议的参考依据,因此产生的问题需自行承担。

评论 抢沙发

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

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

非常感谢你的打赏,我们将继续给力更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫打赏

微信扫一扫打赏