安装依赖

npm install -g hexo-cli

npm install

生成静态文件

hexo generate

本地预览

hexo server

发布

hexo deploy