From dcd949bdd018af8f98c5e19e843d996d56c7f413 Mon Sep 17 00:00:00 2001 From: Nils Breunese Date: Sun, 25 Jan 2026 20:21:16 +0100 Subject: [PATCH] docs: Add instructions for MacPorts and uninstall instructions for Homebrew (#17412) Signed-off-by: Nils Breunese Co-authored-by: Jack Wotherspoon --- README.md | 6 ++++++ docs/cli/uninstall.md | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/README.md b/README.md index 77a7ba3647..22e258e289 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,12 @@ npm install -g @google/gemini-cli brew install gemini-cli ``` +#### Install globally with MacPorts (macOS) + +```bash +sudo port install gemini-cli +``` + #### Install with Anaconda (for restricted environments) ```bash diff --git a/docs/cli/uninstall.md b/docs/cli/uninstall.md index 9523e34d8d..e96ddc5acf 100644 --- a/docs/cli/uninstall.md +++ b/docs/cli/uninstall.md @@ -45,3 +45,21 @@ npm uninstall -g @google/gemini-cli ``` This command completely removes the package from your system. + +## Method 3: Homebrew + +If you installed the CLI globally using Homebrew (e.g., +`brew install gemini-cli`), use the `brew uninstall` command to remove it. + +```bash +brew uninstall gemini-cli +``` + +## Method 4: MacPorts + +If you installed the CLI globally using MacPorts (e.g., +`sudo port install gemini-cli`), use the `port uninstall` command to remove it. + +```bash +sudo port uninstall gemini-cli +```