查看当前系统版本
aikaiyuan@debian:~$ cat /etc/debian_version 7.8 aikaiyuan@debian:~$
安装 curl和源
aikaiyuan@debian:~$ sudo apt-get install curl aikaiyuan@debian:~$ sudo curl -sL https://deb.nodesource.com/setup | bash -
安装 nodejs
aikaiyuan@debian:~$ apt-get install -y nodejs
from http://www.topjishu.com/9352.html
http://www.cnblogs.com/pswzone/archive/2012/04/09/2438885.html