Setup Hugo

Install: - Go (>=1.11) - see this - Git

git clone https://github.com/gohugoio/hugo.git
cd hugo
go install --tags extended
go get
go build -o hugo main.go

cp -t /usr/bin ./hugo

Pygments

If you want syntax highlighting, then install pygments too:

apt install -y python3-pip
pip3 install pygments