Skip to content

[Feature] Homebrew installation support #25

Closed as not planned
Closed as not planned

Description

@tillig

Problem
On Mac, pip install doesn't work because Python avoids modification of the global set of packages. It specifically recommends using brew install to manage the package via Homebrew.

Proposed solution
Add a local deploy/homebrew/auto-memory.rb file. It would look something like this:

class AutoMemory < Formula
  include Language::Python::Virtualenv

  desc "Session memory recall for AI coding agents"
  homepage "https://github.com/dezgit2025/auto-memory"
  url "https://github.com/dezgit2025/auto-memory.git",
      tag:      "v0.2.0",
      revision: "" # fill after tagging
  license "MIT"

  depends_on "python@3"

  def install
    virtualenv_create(libexec, "python3")
    system libexec/"bin/pip", "install", *std_pip_args(prefix: libexec), "."
    bin.install_symlink libexec/"bin/session-recall"
  end

  test do
    assert_match "usage", shell_output("#{bin}/session-recall --help", 2)
  end
end

Update install instructions to be brew tap dezgit2025/auto-memory && brew install auto-memory for Mac.

Alternatives considered

  • Instructions could be updated to use pipx instead of pip.
  • Submit an official Homebrew formula to their repo instead of local hosting.

Additional context

It would be good to get the latest updates released to PyPI - none of the pip install or pipx install works right now on any of the latest code (#18).

Activity

  1. added
    enhancement
    on Jun 16, 2026
  2. tillig commented on Jul 9, 2026

    @tillig
    Author

    I did discover you can use uv tool install "auto-memory[claude] @ git+https://github.com/dezgit2025/auto-memory@v0.4.0" to install things so maybe switching the instructions/README to that would be better?

  3. dezgit2025 commented on Sep 20, 2026

    @dezgit2025
    Owner

    Thanks @tillig for reporting the macOS installation problem and for following up with the uv tool install suggestion—and apologies for the delayed response.

    Our installation guide supports isolated installation through pipx, uv, or an explicit Python virtual environment. The README Quickstart now makes that choice explicit and pins the commands to the published v0.6.0 release. These methods avoid installing auto-memory into the system-managed Python environment.

    Choose one installation manager; keep using that manager for an existing installation. I verified fresh pipx and uv installations of this tag on macOS, including CLI version/help checks. The shared guide specifies the Python build required for the experimental Codex AI-repair sandbox; the Homebrew commands there provision that runtime/tooling, not an auto-memory formula.

    We're choosing this approach rather than maintaining a separate Homebrew formula, so I'm closing the Homebrew feature request as not planned. The underlying installation problem is addressed through the documented isolated methods.

    Version 0.6.0 is a GitHub-only release; it has not been published to PyPI. That separate concern remains tracked in #18.

    I've also added a README acknowledgment for your report and suggestion. Thanks for helping improve the setup experience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions