Install specific version of Hugo via Homebrew #2941
-
I've been trying to help a co-worker install the specific version of Hugo we use. When running |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Homebrew-core only ships the latest version of software so this won't work. It might be beneficial for your company to use |
Beta Was this translation helpful? Give feedback.
-
You can also modify your formula before installing it with
|
Beta Was this translation helpful? Give feedback.
-
@carlocab these instructions didn't work for me on a brand new MacBook with Monterey. It appears homebrew was trying to build hugo from source, and running into all kinds of errors. What worked was to install the binary from github: https://github.com/gohugoio/hugo/releases/tag/v0.79.0 Following these instructions - https://datacenterjourney.com/2021/install-specific-version-hugo-macos/ |
Beta Was this translation helpful? Give feedback.
brew
doesn't let you install arbitrary versions of formulae out of the box, I'm afraid. What you can do is the following:You can also modify your formula before installing it with