Hexo Installation

Install Nodejs

Install hexo

1
$ npm install -g hexo-cli

Create blog folder

1
2
$ hexo init blog
$ npm install

Install deployer and next theme

1
2
$ npm install hexo-deployer-git 
$ npm install hexo-theme-next

Copy and customize theme file

1
$ cp node-modules/hexo-theme-next/_config.yml _config.next.yml

Create new post

1
2
$ hexo n "post-title"
$ hexo n page "page-title"

Generate

1
$ hexo g

Local testing server

1
$ hexo s	# or hexo s -g for generate

Deploy

1
$ hexo d	# or hexo d -g for generate