Contents
  1. 1. Command
  2. 2. Build
  3. 3. Publish

Command

1
2
3
4
5
6
hexo new <title> / hexo n <title> #生成文章,或者source\_posts手动编辑
hexo server / hexo s #本地发布预览效果
hexo generate / hexo g #生成public静态文件
hexo clean
hexo list <type>
hexo version

Build

1
2
3
4
5
6
7
install nodejs
install npm
npm install hexo-cli -g
npm install hexo --save
hexo init <folder>
cd <folder>
npm install

Publish

1
2
3
hexo clean
hexo d -g
hexo s --debug
Contents
  1. 1. Command
  2. 2. Build
  3. 3. Publish