Skip to content

Commit dcd949b

Browse files
docs: Add instructions for MacPorts and uninstall instructions for Homebrew (#17412)
Signed-off-by: Nils Breunese <nils@breun.nl> Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
1 parent c0b8c4a commit dcd949b

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ npm install -g @google/gemini-cli
5555
brew install gemini-cli
5656
```
5757

58+
#### Install globally with MacPorts (macOS)
59+
60+
```bash
61+
sudo port install gemini-cli
62+
```
63+
5864
#### Install with Anaconda (for restricted environments)
5965

6066
```bash

docs/cli/uninstall.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,21 @@ npm uninstall -g @google/gemini-cli
4545
```
4646

4747
This command completely removes the package from your system.
48+
49+
## Method 3: Homebrew
50+
51+
If you installed the CLI globally using Homebrew (e.g.,
52+
`brew install gemini-cli`), use the `brew uninstall` command to remove it.
53+
54+
```bash
55+
brew uninstall gemini-cli
56+
```
57+
58+
## Method 4: MacPorts
59+
60+
If you installed the CLI globally using MacPorts (e.g.,
61+
`sudo port install gemini-cli`), use the `port uninstall` command to remove it.
62+
63+
```bash
64+
sudo port uninstall gemini-cli
65+
```

0 commit comments

Comments
 (0)