Skip to content

AlexIoannides/homebrew-tap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

My Personal Homebrew Tap

For keeping formulae of old software versions that I may want to revert back to!

Create your Personal Tap

For example, this repo! The repo must be named homebrew-tap. This then need to be tapped - e.g.,

brew tap alexioannides/tap

Adding a new Formula to the Tap

Start by extract a formula - e.g.,

brew extract hashicorp/tap/terraform --version 1.9.1 alexioannides/tap

That will yield outout along the lines of,

==> Searching repository history
==> Writing formula for terraform at 1.8.0 from revision bca6603 to:
/opt/homebrew/Library/Taps/alexioannides/homebrew-tap/Formula/[email protected]

Commit and push this to your remote repo - e.g.,

cd $(brew --repo alexioannides/tap)
git pull
git add -A && git commit -m "Add [email protected]"
git push origin main

Installing Formulae

You can now reinstall old version from you tap - e.g.,

brew install alexioannides/tap/[email protected]

Debugging

If you having trouble extracting formulae from homebrew/core, then run,

brew tap homebrew/core --force

As explained here.

About

My personal Homebrew tap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages