Skip to content

Commit c52a1de

Browse files
committed
Add comprehensive ~/.gemini/.env file example
1 parent 6bfae0d commit c52a1de

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/installation-guides/install-gemini-cli.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ The simplest way is to use GitHub's hosted MCP server:
2525
}
2626
```
2727

28-
Store your GitHub token in `~/.gemini/.env`:
28+
Create or update `~/.gemini/.env` with your environment variables:
2929
```bash
30-
GITHUB_PAT=your_github_token_here
30+
# ~/.gemini/.env
31+
GITHUB_PAT=ghp_sample_sample_sample
32+
GOOGLE_CLOUD_PROJECT=my-gcp-project
33+
GEMINI_API_KEY=AIzSamplelBQGwHw-62R598eI-HFOWd4Ol847g
3134
```
3235

3336
### Method 2: Local Docker Setup (Alternative)
@@ -123,9 +126,9 @@ For better security, use environment variables:
123126
}
124127
```
125128

126-
Then set the environment variable:
129+
Then add the environment variable to `~/.gemini/.env`:
127130
```bash
128-
export GITHUB_PAT=your_github_pat
131+
GITHUB_PAT=your_github_pat
129132
```
130133

131134
## Configuration Options

0 commit comments

Comments
 (0)