Hexo 常用命令
Hexo 快速、简洁且高效的博客框架
Hexo 项目地址:https://hexo.io/
常用命令:1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26安装
$ npm install hexo-cli -g
更新
$ npm update hexo-cli -g
查看版本
$ hexo version 简写: hexo -v
初始化
$ hexo init
成静态文件
$ hexo generate 简写: hexo g
启动本地服务器
$ hexo server 简写: hexo s
部署网站
$ hexo deploy 简写: hexo d
新建一篇文章
$ hexo new <title>
清除缓存文件
$hexo clean
更多详细的命令查看 Hexo 文档 。