安装nodejs和git: 配置git,生成ssh key,添加至github,使当前电脑的git与你的github相连: 123git config --global user.name "Yangerle"git config --global user.email "********@qq.com"ssh-keygen -t rsa -C "********@qq.com" 1234567npm install hexo-cli -gnpm install hexo-generator-searchnpm installnpm install hexo-deployer-git --savehexo ghexo dhexo s (本地测试)