summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Birchler <[email protected]>2025-07-14 18:21:40 +0200
committerGitHub <[email protected]>2025-07-14 16:21:40 +0000
commit80c81f2a4cafd88333defa6b86b69f572dfec5d0 (patch)
tree9eb89af68618c6d59ad77ac2cfff81369835993f
parentfadc477001cfcf988b9565b5d9d6ccd0da15a35c (diff)
fix(docs): clarify global installation in readme (#3781)
-rw-r--r--README.md5
-rw-r--r--docs/deployment.md7
-rw-r--r--docs/sandbox.md6
3 files changed, 14 insertions, 4 deletions
diff --git a/README.md b/README.md
index 22e2f24b..33cabfdd 100644
--- a/README.md
+++ b/README.md
@@ -30,6 +30,11 @@ With the Gemini CLI you can:
```bash
npm install -g @google/gemini-cli
+ ```
+
+ Then, run the CLI from anywhere:
+
+ ```bash
gemini
```
diff --git a/docs/deployment.md b/docs/deployment.md
index 12ea0655..3287839c 100644
--- a/docs/deployment.md
+++ b/docs/deployment.md
@@ -15,14 +15,17 @@ This is the recommended way for end-users to install Gemini CLI. It involves dow
- **Global install:**
```bash
- # Install the CLI globally
npm install -g @google/gemini-cli
+ ```
+
+ Then, run the CLI from anywhere:
- # Now you can run the CLI from anywhere
+ ```bash
gemini
```
- **NPX execution:**
+
```bash
# Execute the latest version from NPM without a global install
npx @google/gemini-cli
diff --git a/docs/sandbox.md b/docs/sandbox.md
index 77ea0f73..87763685 100644
--- a/docs/sandbox.md
+++ b/docs/sandbox.md
@@ -7,10 +7,12 @@ This document provides a guide to sandboxing in the Gemini CLI, including prereq
Before using sandboxing, you need to install and set up the Gemini CLI:
```bash
-# install gemini-cli with npm
npm install -g @google/gemini-cli
+```
+
+To verify the installation
-# Verify installation
+```bash
gemini --version
```