curl -fsSL https://raw.githubusercontent.com/smallnest/pigo/master/install.sh | sh

go install github.com/smallnest/pigo/cmd/pigo@latest

git clone https://github.com/smallnest/pigo.git
cd pigo
go build ./cmd/pigo
./pigo -v

pigo update

export PATH="$HOME/.local/bin:$(go env GOPATH)/bin:$PATH"
# 加到 ~/.zshrc 或 ~/.bashrc 以持久生效