You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/installation-guides/install-gemini-cli.md
+1-35Lines changed: 1 addition & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,44 +1,10 @@
1
1
# Install GitHub MCP Server in Google Gemini CLI
2
2
3
3
## Prerequisites
4
-
1. Google Gemini CLI installed (see [Installation Options](#installation-options))
4
+
1. Google Gemini CLI installed (see [official Gemini CLI documentation](https://github.com/google-gemini/gemini-cli))
5
5
2.[GitHub Personal Access Token](https://github.com/settings/personal-access-tokens/new) with appropriate scopes
6
6
3. For local installation: [Docker](https://www.docker.com/) installed and running
7
7
8
-
## Installation Options
9
-
10
-
Install Google Gemini CLI using your preferred method. For the most up-to-date installation instructions and troubleshooting, see the [official Gemini CLI documentation](https://github.com/google-gemini/gemini-cli).
11
-
12
-
### Quick Install Options
13
-
```bash
14
-
# npm (Global Installation)
15
-
npm install -g @google/gemini-cli
16
-
17
-
# npx (No Installation Required)
18
-
npx @google/gemini-cli
19
-
20
-
# Homebrew
21
-
brew install gemini-cli
22
-
```
23
-
24
-
## Authentication Setup
25
-
26
-
Before using Gemini CLI, you need to authenticate with Google:
27
-
28
-
### Using Gemini API Key (Recommended)
29
-
1. Get your API key from [Google AI Studio](https://makersuite.google.com/app/apikey)
30
-
2. Set it as an environment variable:
31
-
```bash
32
-
export GEMINI_API_KEY=your_api_key_here
33
-
```
34
-
35
-
### Using Vertex AI
36
-
1. Configure Google Cloud credentials for Vertex AI
0 commit comments