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
1. 前期准备工作1.Node(必备)2.Git(必备)3.VSCode(可选)
2.1. 安装 Node
从 Node 官网 下载适合自己系统的版本。
完成安装,Windows电脑建议使用默认目录 *C:/Program Files/nodejs/*,苹果电脑无所谓。
验证安装成功,在命令行中输入 node -v 检查版本信息。
苹果用户可通过右键文件夹,选择“服务”,新建终端窗口以便操作。[可选]
2.2. 安装 Git
从 Git 官网 下载适配的 Git 版本。
Windows 用户可使用默认目录安装 Git,Mac 用户则按提示在终端操作
验证安装完毕后,Windows 用户会在开始菜单中看到 Git Bash 等应用。
3. 配置 Git 密钥并连接至 Github 常用 Git 命令:
123git config -lgit config --system --listgit config --global --list
3.1. 配置用户名和邮箱12git config --global user.name "你 ...


