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

Create a new post

1
$ npx hexo new "My New Post"

More info: Writing

Run server

1
$ npx hexo server

More info: Server

Generate static files

1
$ npx hexo generate

More info: Generating

Deploy to remote sites

1
$ npx hexo deploy

More info: Deployment