12345# 安装## 安装```bashnpm install hexo -g
升级1npm update hexo -g
初始化1hexo init
发表文章新建文章1hexo n "我的博客" == hexo new "我的博客"
发表草稿1hexo p == hexo publish
生成静态文件1hexo g == hexo generate
启动服务预览1hexo s == hexo server
部署到远程1hexo d == hexo deploy
清理缓存清除缓存文件 (db.json) 和已生成的静态文件 (public)
1hexo clean
版本查看Hexo运行版本
1hexo version
12345### 发布步骤如果您使用 Hexo 发布:1. 在 Hexo 项目目录下运行: ```bash hexo new "Hexo安装与使用"
这会生成一个 Markdown 文件(比如 source/_posts/Hexo安装与使用.md)。2. 将上面的内容复制粘贴到该文 ...
乱七八糟
未读
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment