Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ghall89/hops
A CLI utility for searching and installing Homebrew packages
https://github.com/ghall89/hops
bun cli homebrew macos typescript
Last synced: about 1 month ago
JSON representation
A CLI utility for searching and installing Homebrew packages
- Host: GitHub
- URL: https://github.com/ghall89/hops
- Owner: ghall89
- License: mit
- Created: 2024-03-11T23:26:41.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-06-27T02:01:37.000Z (6 months ago)
- Last Synced: 2024-06-27T04:38:35.567Z (6 months ago)
- Topics: bun, cli, homebrew, macos, typescript
- Language: TypeScript
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# hops
## About
A CLI tool for installing and managing [Homebrew](https://brew.sh) packages. Written in TypeScript, and powered by Bun. This is not a standalone package manager, and requires Homebrew to be installed on your machine.
## Usage
### Installing Packages
You can search for and install packages by running hops without any flags, or with the `--add` flag.
### Uninstalling Packages
You can uninstall Homebrew packages by running hops with the `--remove` flag. Additionally, when uninstalling casks, you can "zap", or remove all associated files, by including the `--zap` flag.
### Updating Packages
You can add Homebrew taps by running hops with the `--update` flag.
### Adding Taps
You can add Homebrew taps by running hops with the `--tap` flag.
## Building From Source
_Note: You must have Bun v1.0.18 or higher installed, earlier versions have a bug that causes the program to exit prematurely._
From the project directory, run `bun run build`. This will create a `/build` directory containing the executable for hops.
## Dependencies
- [prompts](https://github.com/terkelg/prompts)
- [ora](https://github.com/sindresorhus/ora)
- [chalk](https://github.com/chalk/chalk)