$ sudo apt-get install libssl0.9.8 npm nodejs mercurial libxml2-dev $ git clone https://github.com/creationix/nvm.git ~/.nvm $ . ~/.nvm/nvm.sh $ nvm install v0.10.19
~/.bashrcに以下を追加。
. ~/.nvm/nvm.sh nvm use v0.10.19
$ npm config set registry http://registry.npmjs.org/ $ npm install express $ cd module/express $ npm install
$ sudo add-apt-repository ppa:chris-lea/node.js $ sudo apt-get install build-essential $ sudo apt-get install nodejs $ npm config set registry http://registry.npmjs.org/ $ npm install express-generator $ ./node_modules/express-generator/bin/express -e exptest $ cd exptest && npm install $ git clone https://github.com/ajaxorg/cloud9.git cloud9 $ cd cloud9 $ npm install http://anopara.matrix.jp/2014/05/12/2014%E5%B9%B45%E6%9C%88%E7%89%88-ubuntu%E3%81%B8%E3%81%AEnode-jsexpress%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB/