summaryrefslogtreecommitdiff
path: root/docs/cli
diff options
context:
space:
mode:
authorDaniel Tedesco <[email protected]>2025-06-25 03:53:03 +0000
committerGitHub <[email protected]>2025-06-25 03:53:03 +0000
commit268d29f05c29a612fc31918e7d0380f4b522b422 (patch)
treebb0714d59ffe8091ad20a3fbd693d1072cd8c714 /docs/cli
parentb6ccf12551bf43992b89c8b2c78d1352e89787eb (diff)
docs: fix typos in documentation (#1411)
Co-authored-by: Dan Tedesco <[email protected]>
Diffstat (limited to 'docs/cli')
-rw-r--r--docs/cli/authentication.md6
-rw-r--r--docs/cli/configuration.md4
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/cli/authentication.md b/docs/cli/authentication.md
index b74e2b60..7770c3c6 100644
--- a/docs/cli/authentication.md
+++ b/docs/cli/authentication.md
@@ -52,7 +52,7 @@ The Gemini CLI requires you to authenticate with Google's AI services. On initia
export GOOGLE_CLOUD_LOCATION="YOUR_PROJECT_LOCATION" # e.g., us-central1
export GOOGLE_GENAI_USE_VERTEXAI=true
```
- - For repeated use, you can add the environment variables to your `.env` file (located in the project directory or user home directory) or your shell's configuration file (like `~/.bashrc`, `~/.zshrc`, or `~/.profile`). For example, the following commands adds the environment variables to a `~/.bashrc` file:
+ - For repeated use, you can add the environment variables to your `.env` file (located in the project directory or user home directory) or your shell's configuration file (like `~/.bashrc`, `~/.zshrc`, or `~/.profile`). For example, the following commands add the environment variables to a `~/.bashrc` file:
```bash
echo 'export GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID"' >> ~/.bashrc
echo 'export GOOGLE_CLOUD_LOCATION="YOUR_PROJECT_LOCATION"' >> ~/.bashrc
@@ -60,13 +60,13 @@ The Gemini CLI requires you to authenticate with Google's AI services. On initia
source ~/.bashrc
```
- If using express mode:
- - Set the `GOOGLE_API_KEY` environment variables. In the following methods, replace `YOUR_GOOGLE_API_KEY` with your Vertex AI API key provided by express mode:
+ - Set the `GOOGLE_API_KEY` environment variable. In the following methods, replace `YOUR_GOOGLE_API_KEY` with your Vertex AI API key provided by express mode:
- You can temporarily set these environment variables in your current shell session using the following commands:
```bash
export GOOGLE_API_KEY="YOUR_GOOGLE_API_KEY"
export GOOGLE_GENAI_USE_VERTEXAI=true
```
- - For repeated use, you can add the environment variables to your `.env` file (located in the project directory or user home directory) or your shell's configuration file (like `~/.bashrc`, `~/.zshrc`, or `~/.profile`). For example, the following commands adds the environment variables to a `~/.bashrc` file:
+ - For repeated use, you can add the environment variables to your `.env` file (located in the project directory or user home directory) or your shell's configuration file (like `~/.bashrc`, `~/.zshrc`, or `~/.profile`). For example, the following commands add the environment variables to a `~/.bashrc` file:
```bash
echo 'export GOOGLE_API_KEY="YOUR_GOOGLE_API_KEY"' >> ~/.bashrc
echo 'export GOOGLE_GENAI_USE_VERTEXAI=true' >> ~/.bashrc
diff --git a/docs/cli/configuration.md b/docs/cli/configuration.md
index 90646b99..d22aa4b9 100644
--- a/docs/cli/configuration.md
+++ b/docs/cli/configuration.md
@@ -165,7 +165,7 @@ In addition to a project settings file, a project's `.gemini` directory can cont
- **Description:** Configures logging and metrics collection for Gemini CLI. For more information, see [Telemetry](../telemetry.md).
- **Default:** `{"enabled": false, "target": "local", "otlpEndpoint": "http://localhost:4317", "logPrompts": true}`
- **Properties:**
- - **`enabled`** (boolean): Whether or not telemtery is enabled.
+ - **`enabled`** (boolean): Whether or not telemetry is enabled.
- **`target`** (string): The destination for collected telemetry. Supported values are `local` and `gcp`.
- **`otlpEndpoint`** (string): The endpoint for the OTLP Exporter.
- **`logPrompts`** (boolean): Whether or not to include the content of user prompts in the logs.
@@ -243,7 +243,7 @@ The CLI automatically loads environment variables from an `.env` file. The loadi
- Your Google Cloud API key.
- Required for using Vertex AI in express mode.
- Ensure you have the necessary permissions and set the `GOOGLE_GENAI_USE_VERTEXAI=true` environment variable.
- - Example: `export GOOGLE_API_KEY="YOUR_GOOGLE_API_ KEY"`.
+ - Example: `export GOOGLE_API_KEY="YOUR_GOOGLE_API_KEY"`.
- **`GOOGLE_CLOUD_PROJECT`**:
- Your Google Cloud Project ID.
- Required for using Code Assist or Vertex AI.