hexo常用命令笔记

description: 整理Hexo博客日常使用中最常用的命令,包括新建文章、生成静态文件、本地预览与部署。

1.hexo相关

npm install hexo -g #安装  
npm update hexo -g #升级
hexo init #初始化

2.常用的缩写

hexo n "我的博客" == hexo new "我的博客" #新建文章
hexo p == hexo publish
hexo g == hexo generate#生成
hexo s == hexo server #启动服务预览
hexo d == hexo deploy#部署

持续更新