https://github.com/alexioannides/homebrew-tap
My personal Homebrew tap
https://github.com/alexioannides/homebrew-tap
Last synced: about 2 months ago
JSON representation
My personal Homebrew tap
- Host: GitHub
- URL: https://github.com/alexioannides/homebrew-tap
- Owner: AlexIoannides
- License: mit
- Created: 2024-07-07T15:51:07.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-19T16:20:02.000Z (9 months ago)
- Last Synced: 2025-01-17T05:43:56.139Z (3 months ago)
- Language: Ruby
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.,
```text
brew tap alexioannides/tap
```## Adding a new Formula to the Tap
Start by extract a formula - e.g.,
```text
brew extract hashicorp/tap/terraform --version 1.9.1 alexioannides/tap
```That will yield outout along the lines of,
```text
==> 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.,
```text
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.,
```text
brew install alexioannides/tap/[email protected]
```## Debugging
If you having trouble extracting formulae from `homebrew/core`, then run,
```text
brew tap homebrew/core --force
```As explained [here](https://github.com/orgs/Homebrew/discussions/4326#discussioncomment-5318255).