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 +```