Skip to content

Commit f92e79e

Browse files
authored
update docs for http proxy (#13538)
1 parent 3e50be1 commit f92e79e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/cli/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,9 @@ the `excludedProjectEnvVars` setting in your `settings.json` file.
494494
- **`GEMINI_SANDBOX`**:
495495
- Alternative to the `sandbox` setting in `settings.json`.
496496
- Accepts `true`, `false`, `docker`, `podman`, or a custom command string.
497+
- **`HTTP_PROXY` / `HTTPS_PROXY`**:
498+
- Specifies the proxy server to use for outgoing HTTP/HTTPS requests.
499+
- Example: `export HTTPS_PROXY="http://proxy.example.com:8080"`
497500
- **`SEATBELT_PROFILE`** (macOS specific):
498501
- Switches the Seatbelt (`sandbox-exec`) profile on macOS.
499502
- `permissive-open`: (Default) Restricts writes to the project folder (and a
@@ -581,9 +584,6 @@ for that specific session.
581584
- Example: `gemini -e my-extension -e my-other-extension`
582585
- **`--list-extensions`** (**`-l`**):
583586
- Lists all available extensions and exits.
584-
- **`--proxy`**:
585-
- Sets the proxy for the CLI.
586-
- Example: `--proxy http://localhost:7890`.
587587
- **`--include-directories <dir1,dir2,...>`**:
588588
- Includes additional directories in the workspace for multi-directory
589589
support.

docs/get-started/configuration-v1.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,9 @@ the `excludedProjectEnvVars` setting in your `settings.json` file.
611611
- **`GEMINI_SANDBOX`**:
612612
- Alternative to the `sandbox` setting in `settings.json`.
613613
- Accepts `true`, `false`, `docker`, `podman`, or a custom command string.
614+
- **`HTTP_PROXY` / `HTTPS_PROXY`**:
615+
- Specifies the proxy server to use for outgoing HTTP/HTTPS requests.
616+
- Example: `export HTTPS_PROXY="http://proxy.example.com:8080"`
614617
- **`SEATBELT_PROFILE`** (macOS specific):
615618
- Switches the Seatbelt (`sandbox-exec`) profile on macOS.
616619
- `permissive-open`: (Default) Restricts writes to the project folder (and a
@@ -699,9 +702,6 @@ for that specific session.
699702
- Example: `gemini -e my-extension -e my-other-extension`
700703
- **`--list-extensions`** (**`-l`**):
701704
- Lists all available extensions and exits.
702-
- **`--proxy`**:
703-
- Sets the proxy for the CLI.
704-
- Example: `--proxy http://localhost:7890`.
705705
- **`--include-directories <dir1,dir2,...>`**:
706706
- Includes additional directories in the workspace for multi-directory
707707
support.

0 commit comments

Comments
 (0)