Install Hugo on macOS, Windows, Linux, OpenBSD, FreeBSD, and on any machine.

Arch Linux

sudo pacman -Syu hugo

Debian and Ubuntu

sudo apt install hugo


sudo dnf install hugo

Homebrew (Linux)

brew install hugo

Snap Package

snap install hugo

Once you have installed Hugo, check hugo version to make sure that the installation was complete and works.

hugo version