Cloudflare部署Hugo个人博客(三步走①基础准备)
1️⃣ 系统环境准备
🖥 操作系统
- Windows 10 / Windows 11
🧰 必备工具
① Windows Terminal
用于统一管理 PowerShell 终端
安装方式
- Microsoft Store 搜索 Windows Terminal
- 安装后设置 PowerShell 为默认终端
🌐 必备账号
GitHub
用途:存储博客源码 + 自动部署触发
Cloudflare
用途:自动构建 Hugo 网站 + CDN 加速 + 域名绑定
⚙️ Hugo 安装
下载 Hugo Extended
选择:
- hugo_extended_windows-amd64.zip
🔧 配置环境变量
将 Hugo 解压目录加入 Path
✅ 验证安装
hugo version
🧠 本阶段目标
✔ 工具安装完成
✔ 环境变量配置完成
✔ 账号注册完成
✔ Hugo 可运行