https://rtcamp.com/tutorials/nodejs/node-js-npm-install-ubuntu/
Using Launchpad repo by Chris Lea just run following commands
apt-get install python-software-properties
apt-add-repository ppa:chris-lea/node.js
apt-get update
node.js install
apt-get install nodejs
Check node.js version
node -v
Outputs
v0.10.20
npm install
Above command should install npm.
Check npm version
npm -v
Outputs
1.4.3
If for some reason, if you see npm is not installed, you may try running:
apt-get install npm
P.S. Do not miss out on our other amazing tutorials. Stay tuned with us. Join us on twitter and facebook for more updates.
相关推荐
zabbix2.03在ubuntu12.04上的安装(最新)
Ubuntu 12.04下如何安装MySQL ,我按照这文档,已经成功在ubuntu 12.04安装成功mysql!
Ubuntu12.04 nginx python uwsgi Django安装步骤
Ubuntu12.04下Eclipse安装配置
Ubuntu12.04下的JDK安装,首先到官网上下载jdk-7u51-linux-x64.tar.gz。
ubuntu12.04安装及配置过程详解
详细介绍了在Ubuntu12.04上安装NS-2.35的步骤,包括安装包下载链接,每步安装的详细介绍等。
使用ubuntu 12.04 64位环境安装 adb fastboot,.de文件即可使用。 将android设备连接至电脑,通过lsusb查看usb设备,如下红色部分对应的就是android设备。 重启adb服务,adb devices有设备说明adb安装成功 $adb kill-...
libc6 for ubuntu 12.04 所有依赖的库都打包 .
用 VMware 安装 Ubuntu 12.04详细过程图解
VMWare8.0安装Ubuntu12.04教程,傻瓜式安装教程,很详细
Ubuntu 12.04 菜鸟完全使用教程让你用最快的速度熟悉使用Ubuntu 12.04!
虚拟机(VMware10.0)上安装ubuntu12.04操作系统.
在ubuntu 12.04上安装snort 2.9.3安装手册
ubuntu12.04安装mysql---黑佳伦.pdf
Ubuntu 12.04 OpenStack Essex安装(多节点)
Ubuntu12.04菜鸟使用手册合集+Ubuntu标准教程Ubuntu12.04菜鸟使用手册合集+Ubuntu标准教程Ubuntu12.04菜鸟使用手册合集+Ubuntu标准教程Ubuntu12.04菜鸟使用手册合集+Ubuntu标准教程Ubuntu12.04菜鸟使用手册合集+...
在Ubuntu12.04环境下安装JDK7
在ubuntu 12.04 上完成的git服务器搭建步骤。