If you are on macOS and using Homebrew, you can install Hugo with the following one-liner:
brew install hugo
If you are on a Windows machine and use Chocolatey for package management, you can install Hugo with the following one-liner:
choco install hugo -confirm
If you are on Debian or Ubuntu, you can install Hugo with the following one-liner:
sudo apt-get install hugo
hugo server