Hexo 常用命令

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start (npx hexo)

Create a new post

1
2
$ hexo new "My New Post"
$ hexo new <模版名> "My New Post"

More info: Writing

Run server

1
2
3
$ hexo server
$ hexo s
$ hexo s --silent

More info: Server

Generate static files

1
2
$ hexo generate
$ hexo g

More info: Generating

Deploy to remote sites

1
2
$ hexo deploy
$ hexo d

More info: Deployment

作者

吃饭不加糖

发布于

2021-03-26

更新于

2021-03-27

许可协议

评论