Skip to content

📝 Fix The Homebrew Install Command - #93

Merged
dunningdan merged 1 commit into
mainfrom
docs/brew-trust-install-step
Aug 6, 2026
Merged

📝 Fix The Homebrew Install Command#93
dunningdan merged 1 commit into
mainfrom
docs/brew-trust-install-step

Conversation

@dunningdan

@dunningdan dunningdan commented Aug 5, 2026

Copy link
Copy Markdown
Member

The documented Homebrew install installs nothing. From a clean machine:

$ brew tap pixee/pixee
==> Tapping pixee/pixee
Cloning into '/opt/homebrew/Library/Taps/pixee/homebrew-pixee'...
Tapped 1 formula (18 files, 54.9KB).

$ brew install pixee
Error: Refusing to load formula pixee/pixee/pixee from untrusted tap pixee/pixee.

Step one succeeds and gives no hint of a problem, so this surfaces at step two as what looks like a security error rather than a stale instruction.

Two causes:

  1. pixee/homebrew-pixee was renamed to pixee/homebrew-tap, so pixee/pixee resolves through a GitHub redirect and installs a second tap for the same repo. With both present the short name is ambiguous: Error: Formulae found in multiple taps.
  2. Since Homebrew 6.0.0 a non-official tap must be trusted before Homebrew will load a formula from it by short name.

brew install pixee/tap/pixee fixes both. Correct tap, and installing by fully qualified name trusts that one formula, so no brew trust step is needed:

==> Tapping pixee/tap
==> Trusted formula pixee/tap/pixee
==> Installing pixee from pixee/tap
🍺  /opt/homebrew/Cellar/pixee/0.17.0: 4 files, 63.7MB

Both paths were run from a fully reset state (no binary, no taps, empty trust file) rather than reasoned about: the old instructions install nothing, the new one yields pixee 0.17.0 from a single tap.

The trust mechanics are deliberately not explained in the README. A reader installing the CLI does not need Homebrew's trust model, only a command that works, and Homebrew's own error message points anyone who needs it at brew trust.

The customer-facing copy in pixee/docs docs/api/cli.md has the same two-line block and the same bug. That page is already being rewritten in pixee/docs#295, so it belongs there.

@dunningdan dunningdan changed the title 📝 Document The Homebrew Trust Step, Which Install Now Requires 📝 Document Installing Without A Homebrew Trust Grant Aug 5, 2026
@dunningdan
dunningdan force-pushed the docs/brew-trust-install-step branch from 68fe9e5 to 72fe5cb Compare August 5, 2026 20:03
@dunningdan dunningdan changed the title 📝 Document Installing Without A Homebrew Trust Grant 📝 Fix The Homebrew Install Command Aug 5, 2026
@dunningdan
dunningdan force-pushed the docs/brew-trust-install-step branch from 72fe5cb to 5039641 Compare August 5, 2026 20:07
The documented install fails on a clean machine:

    $ brew tap pixee/pixee
    ==> Tapping pixee/pixee
    Cloning into '/opt/homebrew/Library/Taps/pixee/homebrew-pixee'...
    $ brew install pixee
    Error: Refusing to load formula pixee/pixee/pixee from untrusted tap pixee/pixee.

Two causes. `pixee/homebrew-pixee` was renamed to `pixee/homebrew-tap`, so the
documented tap name resolves through a GitHub redirect and installs a second tap
for the same repo, after which the short name is ambiguous. And since Homebrew
6.0.0 a non-official tap must be trusted before Homebrew will load a formula from
it by short name.

`brew install pixee/tap/pixee` fixes both: correct tap, and installing by fully
qualified name trusts that one formula, so no `brew trust` step is needed. Verified
from a clean state twice, once confirming the old instructions install nothing and
once confirming this one yields pixee 0.17.0 from a single tap.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014z9k8q5CwGagYfi5CLgYr9
@dunningdan
dunningdan force-pushed the docs/brew-trust-install-step branch from 5039641 to b11bd4b Compare August 5, 2026 20:08
@sonarqubecloud

sonarqubecloud Bot commented Aug 5, 2026

Copy link
Copy Markdown

@dunningdan
dunningdan requested a review from gilday August 5, 2026 20:22
@dunningdan
dunningdan marked this pull request as ready for review August 5, 2026 20:22
@dunningdan
dunningdan merged commit 0827c2a into main Aug 6, 2026
1 check passed
@dunningdan
dunningdan deleted the docs/brew-trust-install-step branch August 6, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants