1.安装curl
sudo apt-get install curl
2.安装nodejs 和 npm
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
查看node版本 node -v
查看npm版本 npm -version
3.安装git
sudo apt-get install git