安装 curl和源

aikaiyuan@debian:~$ sudo apt-get install curl
aikaiyuan@debian:~$ sudo curl -sL https://deb.nodesource.com/setup | bash -

安装 nodejs
apt-get install -y nodejs