whereis nodejs
nodejs -v
sudo npm config set registry https://registry.npm.taobao.org
sudo npm install n -g
sudo n stable