Homebrew is a free and open source package manager for macOS and Linux. This will install the extended flavor of Hugo:
brew install hugo
Chocolatey is a free and open source package manager for Windows. This will install the extended flavor of Hugo:
choco install hugo-extended
hugo server -D
hugo --minify