查看當前系統版本node
aikaiyuan@debian:~$ cat /etc/debian_version 7.8 aikaiyuan@debian:~$ 安裝 curl和源bash
aikaiyuan@debian:~$ sudo apt-get install curl aikaiyuan@debian:~$ sudo curl -sL https://deb.nodesource.com/setup | bash - 安裝 nodejscurl
aikaiyuan@debian:~$ apt-get install -y nodejsurl