Hugo, one of the most popular open-source frameworks for building websites, is in rapid development as the release notes show. It’s unusual to find a breaking change, but we’ve encountered a few instances of older sites that won’t build in newer versions of Hugo. So the question becomes, how can we run multiple versions of Hugo at the same time?
Don’t brew on it
Homebrew, the missing package manager for macOS, makes installation as easy as pie:
brew install hugo
Checking your currently installed version is straightforward:
brew info hugo
And updating to the latest and greatest is just as easy:
“This gives you the flexibility to have multiple versions on your computer,” the Hugo install documentation notes. It’s as simple as downloading the correct binary, dropping it in the right location locally, naming a route to it, and handling some recent Catalina security prompts.