From bbdb0b6d02fcf87cd807b7b65df5c1f9a3dab6cb Mon Sep 17 00:00:00 2001 From: nat hartman Date: Wed, 15 Jul 2026 12:26:31 -0400 Subject: [PATCH 1/2] Add brew trust step to CLI install instructions Homebrew now requires third-party taps to be explicitly trusted, so the documented `brew tap` + `brew install viam` sequence fails with "Refusing to load formula from untrusted tap". Add `brew trust viamrobotics/brews` between the tap and install steps in the macOS and Linux x86_64 tabs. Co-Authored-By: Claude Opus 4.8 --- static/include/how-to/install-cli.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/include/how-to/install-cli.md b/static/include/how-to/install-cli.md index 2171ecb717..d5f8530fc9 100644 --- a/static/include/how-to/install-cli.md +++ b/static/include/how-to/install-cli.md @@ -5,6 +5,7 @@ To download the Viam CLI on a macOS computer, install [brew](https://brew.sh/) a ```sh {class="command-line" data-prompt="$"} brew tap viamrobotics/brews +brew trust viamrobotics/brews brew install viam ``` @@ -32,6 +33,7 @@ You can also install the Viam CLI using [brew](https://brew.sh/) on Linux `amd64 ```sh {class="command-line" data-prompt="$"} brew tap viamrobotics/brews +brew trust viamrobotics/brews brew install viam ``` From 4bcd7d7e34619d2cfa874e16e4802d1145924443 Mon Sep 17 00:00:00 2001 From: Brandon Shrewsbury Date: Wed, 15 Jul 2026 11:19:33 -0600 Subject: [PATCH 2/2] Add brew trust to the brew blocks that bypass the shared include Two more brew install commands hit the same Homebrew 6 tap-trust refusal: the inline copy of the CLI install commands in docs/try/part-3.md and the viam-server one-liner in docs/reference/viam-server.md. Same fix as the include: trust the tap between tap and install. --- docs/reference/viam-server.md | 2 +- docs/try/part-3.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference/viam-server.md b/docs/reference/viam-server.md index e4e7f23205..c7ee7d3bae 100644 --- a/docs/reference/viam-server.md +++ b/docs/reference/viam-server.md @@ -379,7 +379,7 @@ The `viam-agent` and `viam-server` binaries are installed at /opt/viam/bin {{% tab name="macOS" %}} ```bash {class="line-numbers linkable-line-numbers"} -brew tap viamrobotics/brews && brew install viam-server +brew tap viamrobotics/brews && brew trust viamrobotics/brews && brew install viam-server ``` The `viam-server` binary is installed at /opt/homebrew/bin/viam-server. diff --git a/docs/try/part-3.md b/docs/try/part-3.md index c31b86b12b..eb9ba7ec82 100644 --- a/docs/try/part-3.md +++ b/docs/try/part-3.md @@ -46,6 +46,7 @@ The Viam CLI is used for authentication, module generation, and deployment. ```bash brew tap viamrobotics/brews +brew trust viamrobotics/brews brew install viam ```