Subcommands13 subcommands
hexo config
Get or set configurations
hexo help
Displays a help for each command
hexo init
Create a new Hexo folder
hexo new
Create a new article
hexo generate
Generate static files
hexo publish
Publish a draft
hexo server
Start a local server. By default, this is at http://localhost:4000/
hexo deploy
Deploy your website
hexo render
Render files with renderer plugins (e.g. Markdown) and save them at the specified path
hexo migrate
Migrate content from other blog systems
hexo clean
Clean the cache file (`db.json`) and generated files (`public`)
hexo version
Display version information
OptionsOn hexo itself
--config
Uses a custom config file (instead of `_config.yml`). Also accepts a comma-separated list (no spaces) of JSON or YAML config files that will combine the files into a single `_multiconfig.yml` <config file>
--safe
Disable loading plugins and scripts
--debug
Log verbose messages to the terminal and to `debug.log`
--silent
Silence output to the terminal
--draft
Display draft posts (stored in the `source/_drafts` folder)
--cwd
Customize the path of current working directory <directory>