0x01:
Installing Hexo is quite easy:
Node.js
https://nodejs.org/dist/v8.6.0/node-v8.6.0-x64.msi
Git
https://git-scm.com/download/win
install Hexo
$ npm install -g hexo-cli
0x02:
Once Hexo is installed, run the following commands to initialise Hexo in the target <folder>.
说明:不要在c盘右键执行‘Git Bash Here ’,因为下面init时会有权限问题。
$ hexo init <folder>
$ cd <folder>
$ npm install
Once initialised, here’s what your project folder will look like:
.
├── _config.yml
├── package.json
├── scaffolds
├── source
| ├── _drafts
| └── _posts
└── themes
_config.yml
最后运行:hexo server (运行程序,访问本地localhost:4000可以看到博客已经搭建成功)