Skip to content

Instantly share code, notes, and snippets.

View egarpor's full-sized avatar

Eduardo García-Portugués egarpor

View GitHub Profile
@egarpor
egarpor / install_hugo_0.120.3.md
Created September 7, 2025 11:10 — forked from peterwake/install_hugo_0.120.3.md
Keeping an older version of Hugo on MacOS if Homebrew updates it

Installing Hugo 0.120.3 on macOS (Apple Silicon)

22 Feb 2025

My Hugo site stopped running locally, because Hugo and the theme I am using (Academic CV) switched dramatically from Bootstrap to Tailwind CSS, as well as a bunch of other behaviour changes. I don't have the time to update everything. But Homebrew had already updated Hugo to the latest version. And there's no option to simply tap an older version in Homebrew.

This guide documents the process of manually installing Hugo 0.120.3 on a Mac with an M1/M2/M3 processor and ensuring Homebrew does not update it. I thought I'd share it for anyone else with this problem. The usual disclaimers - you do this at your own risk, etc. etc.

0. Install the latest version using Homebrew