How to Install the Latest Version of Hugo
For Debian-based linux distributions, 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.
And choose to download and install either of these (we’ve replaced the version with an X)
The ’extended’ version includes SASS building, extra minfiying and resource processing.
Or, the other way:
Either of these ways should be enough to get you setup, so that if you type:
…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
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.