安装scoop
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression安装基础软件
scoop bucket add extras
scoop install git hugo-extended go/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"安装基础软件
brew install hugo go git配置提交用户和git代理
git config --global user.email "<Email>"
git config --global user.name "Vincent Zhong"
git config --global http.proxy "http://127.0.0.1:7890"取消git代理
git config --global --unset http.proxy根据blowfish安装文档,运行草稿服务器,blowfish模块会自动下载。
hugo server -D更新blowfish主题。
hugo mod get -u