nodejs Ubuntu下安装
2014-04-03 21:02
344 查看
1.安装
sudo apt-get install nodejs #安装node.js
sudo apt-get install npm #安装npm【nodejs包管理器】
sudo npm install -g n #安装n【多版本管理器】
2.在旧版本的基础上升级【注意在安装模块的过程中发现安装不成功很有可能是版本过低的原因】
Most up-to-date ppa for nodejs https://launchpad.net/~chris-lea/+archive/node.js/
NOTE: If your system does not have add-apt-repository, it can be installed like so:
3.npm ERR! Error: failed to fetch from registry: supervisor
npm config set registry http://registry.npmjs.org/
sudo apt-get install nodejs #安装node.js
sudo apt-get install npm #安装npm【nodejs包管理器】
sudo npm install -g n #安装n【多版本管理器】
2.在旧版本的基础上升级【注意在安装模块的过程中发现安装不成功很有可能是版本过低的原因】
Most up-to-date ppa for nodejs https://launchpad.net/~chris-lea/+archive/node.js/
sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs
NOTE: If your system does not have add-apt-repository, it can be installed like so:
sudo apt-get install python-software-properties
3.npm ERR! Error: failed to fetch from registry: supervisor
npm config set registry http://registry.npmjs.org/
相关文章推荐
- Ubuntu15.04编译安装nodejsV0.12.3
- 在Ubuntu 16.04下安装NodeJs
- 在Linux(ubuntu server)上面安装NodeJS的正确姿势
- Ubuntu下自动安装NodeJs的脚本
- Ubuntu16.04安装最新版nodejs
- Linux(ubuntu16.04)下安装nodejs及配置环境变量
- 我折腾的ubuntu X64 安装nodejs
- Docker + Ubuntu 安装 nodejs,redis 生成新镜像
- 【Docker】记 Docker 下,基于 Ubuntu:14.04 安装 nodejs ,并配置相关环境
- Ubuntu安装nodeJS
- nodejs的安装(Centos和Ubuntu)
- 003 Ubuntu上安装Nodejs
- 【已解决】Ubuntu 12.04 LTS Source安装nodejs时出现"bash ./configure permission denied"
- 在Ubuntu上源码安装NodeJS
- 【web】Ubuntu上安装nodejs 4.x 5.x版本方法
- Ubuntu下安装Nodejs
- ubuntu14安装nodejs
- 关于nodejs,mac 上的安装,ubuntu上的安装。
- Ubuntu下MongoDB安装&使用NodeJS操作MongoDB
- ubuntu16.04安装Nodejs