https://github.com/superatomic/homebrew-bundle-extensions
🗄 Command extensions for Homebrew that allow for easy modification of brew bundles.
https://github.com/superatomic/homebrew-bundle-extensions
brew brew-bundle brew-command brew-tap brewfile brewfiles bundle cli homebrew homebrew-command homebrew-tap tap
Last synced: 5 months ago
JSON representation
🗄 Command extensions for Homebrew that allow for easy modification of brew bundles.
- Host: GitHub
- URL: https://github.com/superatomic/homebrew-bundle-extensions
- Owner: superatomic
- License: bsd-2-clause
- Created: 2022-05-14T04:40:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T22:40:53.000Z (over 1 year ago)
- Last Synced: 2025-03-31T05:04:23.584Z (7 months ago)
- Topics: brew, brew-bundle, brew-command, brew-tap, brewfile, brewfiles, bundle, cli, homebrew, homebrew-command, homebrew-tap, tap
- Language: Ruby
- Homepage: https://gh.superatomic.dev/homebrew-bundle-extensions
- Size: 16.6 KB
- Stars: 16
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE-BSD
Awesome Lists containing this project
README
# Homebrew Bundle Extensions
**Homebrew Bundle Extensions** adds command extensions to [Homebrew] that allow for easy modification of [brew bundles].
## Installation
Install [Homebrew] first if it isn't already installed, then run:
```shell
brew tap superatomic/bundle-extensions
```Alternatively, you can add `homebrew-bundle-extensions` to your `Brewfile` by adding this line:
```ruby
tap "superatomic/bundle-extensions"
```## Commands
- **`brew add [FORMULA/CASK...]`**
Intelligently adds one or more provided formulae and/or casks to a `Brewfile`.
You can specify multiple formulae and casks at once, just like the `brew install` command.
To use single quotes instead of double quotes for Brewfile lines (e.g. `brew 'bat'` instead of `brew "bat"`),
set the environment variable `HOMEBREW_BUNDLE_QUOTE_TYPE` to the value `single`.To add a descriptive comment above each line (like `brew bundle dump --describe`), use the `--describe` option.
This is enabled by default if the environment variable `HOMEBREW_BUNDLE_DUMP_DESCRIBE` is set.- **`brew drop [FORMULA/CASK...]`**
Removes one or more provided formulae and/or casks from a `Brewfile`.
You can specify multiple formulae and casks at once, just like the `brew uninstall` command.
- **`brew file`**
Opens the `Brewfile` in the default editor (respects the chosen homebrew editor).
Configure by setting `$HOMEBREW_EDITOR` or `$EDITOR`.
- **`brew view`**
Displays the `Brewfile`.
Uses [`bat`][bat] instead of `cat` if `$HOMEBREW_BAT` is set.All commands support specifying a Brewfile's location using `--file`, `--global`,
or by setting the `$HOMEBREW_BUNDLE_FILE` environment variable.## License
This project is duel-licensed under the [BSD 2-Clause "Simplified" License](LICENSE-BSD) and the [MIT License](LICENSE-MIT).
[Homebrew]: https://brew.sh
[brew bundles]: https://github.com/Homebrew/homebrew-bundle
[bat]: https://github.com/sharkdp/bat