hexo clean # cleans the cache file (db.json) hexo g # generate static files hexo s # starts a local server hexo d # deploy to github hexo g -d # deploy after generation finishes
hexo new <post-title> # create new post hexo new page <page-title> # create new page