Skip to content

Install specific version of Hugo via Homebrew #2941

Discussion options

You must be logged in to vote

brew doesn't let you install arbitrary versions of formulae out of the box, I'm afraid. What you can do is the following:

brew tap-new marksou/your-tap-name-here # create your own tap if you don't already have one
brew extract --version=0.64.1 hugo marksou/your-tap-name-here # extract the version of Hugo that you need to your tap
brew install marksou/your-tap-name-here/hugo@0.64.1

You can also modify your formula before installing it with

brew edit marksou/your-tap-name-here/hugo@0.64.1

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@marksou
Comment options

@carlocab
Comment options

@TheAbstract
Comment options

Answer selected by marksou
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants