How to Install the Latest Version of Hugo

You can view the latest releases on Github.

If you want some extras with it, explore the exended edition. The ’extended’ version includes SASS building, extra minfiying and resource processing.

Ubuntu 20.04, 24.04 or 26.04

For Debian-based linux distributions, like Ubuntu 20.04 (Focal), 24.04 (Noble) and 26.04 (Resolute), it’s often easiest to pick up the latest copy over on the Hugo Github (under Releases). One reason for this is how quickly new versions come out, the versions inside package managers can become out-dated quickly. This way, you know you’re picking up the latest version.

Latest & Greatest:

1
wget https://github.com/gohugoio/hugo/releases/download/v?VERSION?/hugo_extended_?VERSION?_linux-amd64.deb
1
sudo dpkg -i hugo_extended_?VERSION?_linux-amd64.deb

Or, Alternatively:

1
sudo apt install hugo

Finally, Test it!

Either of these ways should be enough to get you setup, so that if you type:

1
$ hugo version
1
hugo v?VERSION?-00b46f.....

…then you can see the current version running.

The only other setup required is the either setup your new project, or navigate to your existing site and run the hugo command.

Updating

Updating Hugo should be very similar to installing. If you downloaded a .deb file, download the new one and install it. If you installed through a package manager, like apt, your limited by their version, but running apt update && apt upgrade would update to the latest.