1.使用淘宝npm源

$ npm install -g cnpm --registry=https://registry.npm.taobao.org

2.安装hexo

cnpm install -g hexo
hexo init
cnpm install

3.安装hexo插件

按照根目录的package.json依次安装各个插件

cnpm install hexo-deployer-git --save
05-11 22:42