mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 02:24:09 -07:00
fix(docs): clarify global installation in readme (#3781)
This commit is contained in:
+5
-2
@@ -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
|
||||
```
|
||||
|
||||
# Now you can run the CLI from anywhere
|
||||
Then, run the CLI from anywhere:
|
||||
|
||||
```bash
|
||||
gemini
|
||||
```
|
||||
|
||||
- **NPX execution:**
|
||||
|
||||
```bash
|
||||
# Execute the latest version from NPM without a global install
|
||||
npx @google/gemini-cli
|
||||
|
||||
Reference in New Issue
Block a user