nvm(node version manage)
`curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | sh
change nvm mirrors
NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node nvm install stable
node.js
nvm install stable
change npm mirrors
npm --registry https://registry.npm.taobao.org install express
hexo
npm install -g hexo-cli
or
npm --registry=https://registry.npm.taobao.org install -g hexo-cli
ps: use "--register option"
hexo-deployer-git --save
npm install hexo-deployer-git --save
rvm(ruby version manage)
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable
source ~/.bashrc
source ~/.bash_profile
ps: follow the tips in the CLI
ruby
gem
change the mirrors
gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/
gem sources -l
ps: make sure it's "https://gems.ruby-china.org/"
jekyll
gem install jekyll
bundler
gem install bundler
change the mirrors
bundle config mirror.https://rubygems.org https://gems.ruby-china.org
gollum
gem install gollum
lib-dev
sudo apt-get install lib-dev
ps: "lib-dev" may be needed, folllow the tips of the CLI