npm install hexo -g #Install hexo
npm update hexo -g #Upgrade hexo
hexo init #Initialize
hexo n "my post" == hexo new "my post" #create a new post
hexo p "my post" == hexo publish "my post" #publish
hexo g == hexo generate
hexo s == hexo server #start server to preview
hexo d == hexo deploy
hexo clean #clean cache
hexo g
hexo d
title: xxx
layout: post
date: 2014-03-03 19:07:43
comments: true
categories: Blog
tags: [Hexo]
keywords: Hexo, Blog
description: xxxxxxxxx
<!--more-->
hexo new post <title>
hexo new page <title>
hexo new draft <title>