查看当前系统版本
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
(adsbygoogle = window.adsbygoogle || []).push({});