npm
- 安装淘宝源 http://npm.taobao.org/
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
- 查看源
$ npm config get registry // https://registry.npmjs.org/
$ npm config set registry https://registry.npm.taobao.org
- 安装hexo https://hexo.io/zh-cn/docs/setup.html
$ cnpm install -g hexo-cli
$ hexo init myblog
$ cd myblog
$ npm install
其他配置在https://hexo.io/zh-cn/docs/setup.html这里介绍的很详细