From 254c45685ea24111c0890f193646b7c060c73189 Mon Sep 17 00:00:00 2001 From: fate Date: Tue, 28 Apr 2026 14:53:26 -0400 Subject: [PATCH] docs: add Homebrew install option A Homebrew formula now lives in alphaonedev/homebrew-tap (added in that repo's PR #2). End-to-end verified locally: tap visible, brew install grok-cli completes, ad-hoc signature intact, no quarantine attribute, --version reports 1.7.0, clean uninstall. - README.md: New "Homebrew (macOS arm64 + Linux x64)" section above the curl-pipe install. Notes that the formula's Gatekeeper handling covers ad-hoc-signed binaries. - docs/index.html: Hero now shows two install boxes (brew + curl) side by side. copyInstall() generalized to accept (codeId, btnId) args so each copy button targets its own snippet; defaults preserve the prior behavior. Co-Authored-By: Claude Opus 4.7 (1M context) --- README.md | 13 ++++++++++++- docs/index.html | 24 +++++++++++++++++------- 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 842b856f..f6843c68 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,18 @@ Community-built and unofficial. Not affiliated with or endorsed by xAI. ## Install -### One-line install (recommended) +### Homebrew (macOS arm64 + Linux x64) + +```bash +brew tap alphaonedev/homebrew-tap +brew install grok-cli +``` + +The formula tracks the latest release. Upgrade with `brew upgrade grok-cli`. +The macOS binary is ad-hoc signed; brew strips the Gatekeeper quarantine +attribute automatically. Apple Developer ID notarization is on the roadmap. + +### One-line install (recommended for non-brew users) ```bash curl -fsSL https://raw.githubusercontent.com/alphaonedev/grok-cli/main/install.sh | bash diff --git a/docs/index.html b/docs/index.html index d7bd8769..534044f2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -112,10 +112,17 @@

Built for Developers

-

Install

- +

Install (Homebrew)

+
- curl -fsSL https://raw.githubusercontent.com/alphaonedev/grok-cli/main/install.sh | bash + brew tap alphaonedev/homebrew-tap && brew install grok-cli +
+
+
+

Install (curl)

+ +
+ curl -fsSL https://raw.githubusercontent.com/alphaonedev/grok-cli/main/install.sh | bash
@@ -378,16 +385,19 @@

Built with