How to use Hexo

2001-01-01

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

If you do not have node.js installed, go ahead and install that first, then:

1
npm install -g hexo-cli

Then install packages:

1
2
cd <folder>
npm install

Create a new post

1
hexo new "My New Post"

More info: Writing

Generate static files

1
hexo generate

More info: Generating

Run server

1
hexo server

More info: Server

Deploy to remote sites

1
hexo deploy

More info: Deployment