Problem
Currently CodeGraph supports three installation methods:
curl | sh script
npm i -g @colbymchenry/codegraph
bun add -g @colbymchenry/codegraph
On macOS, brew install codegraph would be the most natural option for many developers. It also provides:
- Automatic updates via
brew upgrade
- Easy uninstall via
brew uninstall
- Hash verification (sha256) built into the formula
- PATH management handled by Homebrew
Proposed Solution
Provide a Homebrew tap (e.g., colbymchenry/tap/codegraph) with a formula that downloads the pre-built tar.gz from GitHub Releases, similar to how the install.sh script works.
The formula would be straightforward since darwin-arm64 and darwin-x64 builds already exist in Releases.
Alternative
If maintaining a separate tap is too much work, consider submitting to homebrew-core for wider visibility.
Problem
Currently CodeGraph supports three installation methods:
curl | shscriptnpm i -g @colbymchenry/codegraphbun add -g @colbymchenry/codegraphOn macOS,
brew install codegraphwould be the most natural option for many developers. It also provides:brew upgradebrew uninstallProposed Solution
Provide a Homebrew tap (e.g.,
colbymchenry/tap/codegraph) with a formula that downloads the pre-built tar.gz from GitHub Releases, similar to how the install.sh script works.The formula would be straightforward since darwin-arm64 and darwin-x64 builds already exist in Releases.
Alternative
If maintaining a separate tap is too much work, consider submitting to homebrew-core for wider visibility.