Skip to content

Add brew trust to the brew install commands outside the shared CLI include#5216

Closed
btshrewsbury-viam wants to merge 1 commit into
mainfrom
docs/brew-trust-tap
Closed

Add brew trust to the brew install commands outside the shared CLI include#5216
btshrewsbury-viam wants to merge 1 commit into
mainfrom
docs/brew-trust-tap

Conversation

@btshrewsbury-viam

Copy link
Copy Markdown
Collaborator

What

Adds brew trust viamrobotics/brews to the two brew install command blocks that live outside the shared CLI install include:

  • docs/try/part-3.md: the macOS tab inlines its own copy of the CLI install commands instead of reading static/include/how-to/install-cli.md.
  • docs/reference/viam-server.md: the macOS viam-server one-liner uses the same tap, so it hits the same trust gate. It becomes brew tap viamrobotics/brews && brew trust viamrobotics/brews && brew install viam-server.

Why

Homebrew 6.0 made tap trust mandatory: formulae from a third-party tap refuse to load until the user trusts the tap, so the documented tap-then-install sequence fails with Refusing to load formula viamrobotics/brews/viam from untrusted tap. Trusting only the formula also fails, because the viam formula depends on nlopt-static from the same tap. Full failure log and affected-page inventory: #5215.

Relationship to #5214

#5214 (nathartman) fixes the shared include, which covers the CLI overview page and the four other pages that embed it. This PR covers the two remaining brew blocks that bypass the include. Together the two PRs close #5215; neither is complete alone.

Part of #5215.

Verification

prettier, markdownlint, vale (0 errors), and make build-prod all pass.

Homebrew 6.0 refuses to load formulae from a tap the user has not
explicitly trusted, so the documented tap-then-install sequence fails.
PR #5214 adds the trust step to the shared CLI install include; this
covers the two remaining brew blocks that do not use it: the inline
copy in try/part-3.md and the viam-server one-liner in
reference/viam-server.md.

Part of #5215.
@netlify

netlify Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit b19a5df
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/6a57bb432fee340007446ddd
😎 Deploy Preview https://deploy-preview-5216--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 41 (🔴 down 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@viambot viambot added the safe to build This pull request is marked safe to build from a trusted zone label Jul 15, 2026
@btshrewsbury-viam

Copy link
Copy Markdown
Collaborator Author

Closing in favor of #5214.

@btshrewsbury-viam
btshrewsbury-viam deleted the docs/brew-trust-tap branch July 15, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to build This pull request is marked safe to build from a trusted zone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

macOS/Linux brew install commands fail on Homebrew 6 untrusted-tap refusal; add 'brew trust viamrobotics/brews'

2 participants