Skip to content

Feature: Homebrew tap support for macOS installation #689

@phpmac

Description

@phpmac

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions