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
Hexo博客系列No.1 - 搭建Hexo博客,快速简洁高效Hexo 是一个快速、简洁且高效的静态博客框架,使用 Markdown 编写文章,通过命令行工具一键生成静态网页。本教程将带你从零开始搭建一个基于 Hexo 的个人博客系统。
为什么选择 Hexo?
快速生成:基于 Node.js,构建速度极快
简洁高效:Markdown 写作,专注于内容创作
免费部署:可免费部署到 GitHub Pages、Cloudflare Pages 等平台
主题丰富:拥有大量精美的主题选择
扩展性强:支持插件系统,功能可按需扩展
环境准备1. 安装 Node.js首先需要安装 Node.js 环境:
1234# 访问 https://nodejs.org 下载最新 LTS 版本# 安装完成后验证node -vnpm -v
2. 安装 Git确保系统已安装 Git:
1git --version
安装 Hexo1. 全局安装 Hexo CLI1npm install -g hexo-cli
2. 初始化博客项目123456# 创建博客目录hexo init my-blogcd my-blog# ...


