安裝node-gyp
#cd /usr/local/src
#npm install -g node-gyp --registry=https://registry.npm.taobao.org
#su
#git clone https://github.com/NetEase/pomelo.git
#cd pomelo
#npm install -g --unsafe-perm
#npm install -g pomelo --registry=https://registry.npm.taobao.org --unsafe-perm
最後三步可以交替進行,因爲安裝poemlo這一步需要反覆很多次
安裝完成以後驗證一下,版本應該是1.2.3