hexo安装-nodejs

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这里介绍的很详细

posted @ 2017-08-16 09:30  清风@_@  阅读(452)  评论(0编辑  收藏  举报