官方文档:https://hexo.io/zh-cn/docs/commands

初始化博客

1
hexo init

新建文章

1
hexo new "文章名"

生成静态博客

1
2
hexo generate
hexo g

启动本地服务

1
2
hexo server
hexo s

部署网站

1
2
hexo deploy
hexo d

清除缓存

1
hexo clean

显示版本信息

1
hexo version