Skip to content

Homebrew Install Older Version

Resources

Steps

Based on this post.

# say you want to pin tmux
cd "$(brew --repo homebrew/core)"
# find the commit you want to revert to either from git log or
# on github

git checkout <COMMIT_ID>
brew unlink tmux
HOMEBREW_NO_AUTO_UPDATE=1 brew install tmux

# revert homebrew's local installation
git checkout master

# if needed
brew pin tmux