CentOS 7 通过 yum 安装 nodejs 和 npm

 时间:2024-10-15 16:09:36

1、获取nodejs 资源# 4.xcurl --silent --location https://rpm.nodesource.com/setup_4.x | bash -# 5.xcurl --silent --location https://rpm.nodesource.com/setup_5.x | bash -# 0.10curl --silent --location https://rpm.nodesource.com/setup | bash -我这里安装的是 v4.x

CentOS 7 通过 yum 安装 nodejs 和 npmCentOS 7 通过 yum 安装 nodejs 和 npm

2、安装yum install -y nodejs

CentOS 7 通过 yum 安装 nodejs 和 npmCentOS 7 通过 yum 安装 nodejs 和 npm

3、测试是否安装成功node -v# v4.4.0npm -v# 2.14.20

CentOS 7 通过 yum 安装 nodejs 和 npm
  • 怎么在win7下面简单搭建web服务器
  • linux中如何使用rpm安装apache服务?
  • 如何在Notepad++中配置C++环境?
  • 虚拟机redhat 6安装oracle11g各种问题总结
  • jquery如何通过属性值查找元素
  • 热门搜索
    slow是什么意思 功勋的意思 审驾驶证需要带什么 事业单位是什么意思 底盘装甲什么牌子好 杭州有什么好玩的景点 一如既往的意思 什么的身影填空 背包客是什么意思 焦躁的意思