How to update Hugo? On Linux / OS X?
On linux
On Linux, if you have go
installed, just run
1CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
Source: Go Hugo
Hugo binary would be installed to ~/go/bin
. Ensure that directory is added to PATH
OS X
For OS X, Home Brew is a good option.
- Install Home Brew, and run
brew install hugo
- To update:
1brew update
2brew upgrade hugo
Source : Go Hugo
Comments