-
Download the macOS binary from the official Hugo releases page:
-
Extract the download:
tar -xvzf hugo_extended_0.71.0_macOS-64bit.tar.gz
-
Move the hugo binary to your PATH:
sudo mv hugo /usr/local/bin/hugo-0.71
-
(Optional) Alias the binary:
Add to your
~/.zshrc
or~/.bash_profile
:alias hugo71="/usr/local/bin/hugo-0.71"
Then reload your shell:
source ~/.zshrc
-
Run the older Hugo:
hugo71 version
You should see:
Hugo Static Site Generator v0.71.0/extended ...
Summary
- Yes, you can downgrade the hugo if you installed higher hugo.
- Manual download is the most reliable for old versions.
- Use an alias so you can run both old and new Hugos without conflict.