Brewse
An interactive TUI (Terminal User Interface) browser for Homebrew packages. Brewse provides a fast, user-friendly way to search, view, and install or uninstall Homebrew packages.
Installation
Using Homebrew (recommended)
brew install jonasjancarik/tap/brewse
The Homebrew formula warms Brewse's package cache during installation. To keep the cache warm automatically, enable the optional daily refresh service:
brew services start brewse
brew install does not start the background service by itself; use
brew services start brewse only if you want the daily refresh.
Usage
Launch Brewse in one of two ways:
- Interactive search mode:
brewse
- Direct search mode:
brewse <search-term>
Command-line Options
brewse --help # Show all available options
brewse --version # Show version number
brewse --refresh # Force refresh of cached package data
brewse --prefetch # Download package data into the cache and exit
brewse --clear-cache # Clear all cached data and exit
Cache
Brewse caches package data in ~/.cache/brewse/ to improve performance. Cache entries expire after 24 hours.
brewse --prefetch refreshes the same cache without starting the TUI. This is
intended for Homebrew's install hook and optional brew services daily refresh.
Alternative Installation Methods
Using pip
pip install brewse
Using pipx or uvx
Run in an isolated environment with pipx:
pipx install brewse
Or run instantly without installation using uvx:
uvx brewse
Note: uvx requires uv to be installed first:
brew install uv
Development & Releases
Release Process
Brewse uses automated releases with GitHub Actions:
- Update version in
pyproject.tomlandsrc/brewse/__init__.py - Build and publish to PyPI:
uv build uv publish
- Create a GitHub release:
gh release create v0.4.0 --generate-notes
The GitHub Action will automatically:
- Download the tarball from PyPI
- Calculate the SHA256 hash
- Update the Homebrew tap formula
- Push changes to the
homebrew-taprepository
See .github/AUTOMATION_SETUP.md for setup details. (Useful if you want to fork this repo, obviously you will need to change the GitHub username.)
Manual Tap Update
If needed, you can manually update the Homebrew tap:
cd ~/homebrew-tap
./update-formula.sh 0.4.0
License
This project is licensed under the MIT License. See the LICENSE file for details.
Metadata
Release files for brewse 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| brewse-0.4.0.tar.gz | 271.3 kB | Without provenance | Details for brewse-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brewse-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for brewse-0.4.0-py3-none-any.whl |
Total release size: 293.4 kB
Release files / brewse-0.4.0.tar.gz
| Download URL | brewse-0.4.0.tar.gz |
|---|---|
| Size | 271.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2b80d837d353193ac31b4b6facf755238575f2290ac8cbc869517508922054e
|
|
BLAKE2b-256 checksum How to use checksums |
301f48df9f1fd18b9eee194cb26e8a030c7f59bce9d8c92ceadf492741b0dc69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.4
|
Release files / brewse-0.4.0-py3-none-any.whl
| Download URL | brewse-0.4.0-py3-none-any.whl |
|---|---|
| Size | 22.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c7c965549cb3551d760d9f7428fb3cdafd518ffe0158437239b4061d933fa71
|
|
BLAKE2b-256 checksum How to use checksums |
ed50291678edde7844317a656a45e2c5fdf17a57d9049d316d58e47dfff446a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.4
|
Security for brewse 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.