Compare commits

...

4 Commits

Author SHA1 Message Date
Chris Williams
cad496650b Fix up links in README 2026-03-20 14:29:30 -07:00
Chris Williams
38de78045d Add redirects 2026-03-20 14:25:44 -07:00
Chris Williams
dce25e4229 Move docs into resources 2026-03-20 14:25:44 -07:00
Chris Williams
59bf8cbb45 Shift heavy install and authentication docs out of getting start and into resources 2026-03-20 14:25:40 -07:00
10 changed files with 26 additions and 20 deletions

View File

@ -30,7 +30,7 @@ Learn all about Gemini CLI in our [documentation](https://geminicli.com/docs/).
## 📦 Installation ## 📦 Installation
See See
[Gemini CLI installation, execution, and releases](./docs/get-started/installation.md) [Gemini CLI installation, execution, and releases](./docs/resources/installation.md)
for recommended system specifications and a detailed installation guide. for recommended system specifications and a detailed installation guide.
### Quick Install ### Quick Install
@ -209,7 +209,7 @@ gemini
``` ```
For Google Workspace accounts and other authentication methods, see the For Google Workspace accounts and other authentication methods, see the
[authentication guide](./docs/get-started/authentication.md). [authentication guide](./docs/resources/authentication.md).
## 🚀 Getting Started ## 🚀 Getting Started
@ -280,8 +280,8 @@ gemini
- [**Quickstart Guide**](./docs/get-started/index.md) - Get up and running - [**Quickstart Guide**](./docs/get-started/index.md) - Get up and running
quickly. quickly.
- [**Authentication Setup**](./docs/get-started/authentication.md) - Detailed - [**Authentication Setup**](./docs/resources/authentication.md) - Detailed auth
auth configuration. configuration.
- [**Configuration Guide**](./docs/reference/configuration.md) - Settings and - [**Configuration Guide**](./docs/reference/configuration.md) - Settings and
customization. customization.
- [**Keyboard Shortcuts**](./docs/reference/keyboard-shortcuts.md) - - [**Keyboard Shortcuts**](./docs/reference/keyboard-shortcuts.md) -

View File

@ -508,7 +508,7 @@ other events. For more information, see the
You can enforce a specific authentication method for all users by setting the You can enforce a specific authentication method for all users by setting the
`enforcedAuthType` in the system-level `settings.json` file. This prevents users `enforcedAuthType` in the system-level `settings.json` file. This prevents users
from choosing a different authentication method. See the from choosing a different authentication method. See the
[Authentication docs](../get-started/authentication.md) for more details. [Authentication docs](../resources/authentication.md) for more details.
**Example:** Enforce the use of Google login for all users. **Example:** Enforce the use of Google login for all users.

View File

@ -24,7 +24,7 @@ project-specific behavior or create a customized persona.
You can set the environment variable temporarily in your shell, or persist it You can set the environment variable temporarily in your shell, or persist it
via a `.gemini/.env` file. See via a `.gemini/.env` file. See
[Persisting Environment Variables](../get-started/authentication.md#persisting-environment-variables). [Persisting Environment Variables](../resources/authentication.md#persisting-environment-variables).
- Use the project default path (`.gemini/system.md`): - Use the project default path (`.gemini/system.md`):
- `GEMINI_SYSTEM_MD=true` or `GEMINI_SYSTEM_MD=1` - `GEMINI_SYSTEM_MD=true` or `GEMINI_SYSTEM_MD=1`

View File

@ -24,7 +24,8 @@ Once Gemini CLI is installed, run Gemini CLI from your command line:
gemini gemini
``` ```
For more installation options, see [Gemini CLI Installation](./installation.md). For more installation options, see
[Gemini CLI Installation](../resources/installation.md).
## Authenticate ## Authenticate
@ -46,7 +47,7 @@ cases, you can log in with your existing Google account:
Certain account types may require you to configure a Google Cloud project. For Certain account types may require you to configure a Google Cloud project. For
more information, including other authentication methods, see more information, including other authentication methods, see
[Gemini CLI Authentication Setup](./authentication.md). [Gemini CLI Authentication Setup](../resources/authentication.md).
## Configure ## Configure

View File

@ -10,15 +10,15 @@ context.
npm install -g @google/gemini-cli npm install -g @google/gemini-cli
``` ```
For more installation options and authentication setup, see the full
[Installation](./resources/installation.md) and
[Authentication](./resources/authentication.md) guides.
## Get started ## Get started
Jump in to Gemini CLI. Jump in to Gemini CLI.
- **[Quickstart](./get-started/index.md):** Your first session with Gemini CLI. - **[Quickstart](./get-started/index.md):** Your first session with Gemini CLI.
- **[Installation](./get-started/installation.md):** How to install Gemini CLI
on your system.
- **[Authentication](./get-started/authentication.md):** Setup instructions for
personal and enterprise accounts.
- **[Examples](./get-started/examples.md):** Practical examples of Gemini CLI in - **[Examples](./get-started/examples.md):** Practical examples of Gemini CLI in
action. action.
- **[CLI cheatsheet](./cli/cli-reference.md):** A quick reference for common - **[CLI cheatsheet](./cli/cli-reference.md):** A quick reference for common
@ -116,6 +116,9 @@ Deep technical documentation and API specifications.
Support, release history, and legal information. Support, release history, and legal information.
- **[FAQ](./resources/faq.md):** Answers to frequently asked questions. - **[FAQ](./resources/faq.md):** Answers to frequently asked questions.
- **[Installation](./resources/installation.md):** How to install Gemini CLI.
- **[Authentication](./resources/authentication.md):** Setup instructions for
personal and enterprise accounts.
- **[Quota and pricing](./resources/quota-and-pricing.md):** Limits and billing - **[Quota and pricing](./resources/quota-and-pricing.md):** Limits and billing
details. details.
- **[Terms and privacy](./resources/tos-privacy.md):** Official notices and - **[Terms and privacy](./resources/tos-privacy.md):** Official notices and

View File

@ -11,8 +11,10 @@
"/docs/core/tools-api": "/docs/reference/tools", "/docs/core/tools-api": "/docs/reference/tools",
"/docs/reference/tools-api": "/docs/reference/tools", "/docs/reference/tools-api": "/docs/reference/tools",
"/docs/faq": "/docs/resources/faq", "/docs/faq": "/docs/resources/faq",
"/docs/get-started/authentication": "/docs/resources/authentication",
"/docs/get-started/configuration": "/docs/reference/configuration", "/docs/get-started/configuration": "/docs/reference/configuration",
"/docs/get-started/configuration-v1": "/docs/reference/configuration", "/docs/get-started/configuration-v1": "/docs/reference/configuration",
"/docs/get-started/installation": "/docs/resources/installation",
"/docs/index": "/docs", "/docs/index": "/docs",
"/docs/quota-and-pricing": "/docs/resources/quota-and-pricing", "/docs/quota-and-pricing": "/docs/resources/quota-and-pricing",
"/docs/tos-privacy": "/docs/resources/tos-privacy", "/docs/tos-privacy": "/docs/resources/tos-privacy",

View File

@ -1903,8 +1903,8 @@ within your user's home folder.
Environment variables are a common way to configure applications, especially for Environment variables are a common way to configure applications, especially for
sensitive information like API keys or for settings that might change between sensitive information like API keys or for settings that might change between
environments. For authentication setup, see the environments. For authentication setup, see the
[Authentication documentation](../get-started/authentication.md) which covers [Authentication documentation](../resources/authentication.md) which covers all
all available authentication methods. available authentication methods.
The CLI automatically loads environment variables from an `.env` file. The The CLI automatically loads environment variables from an `.env` file. The
loading order is: loading order is:
@ -1924,7 +1924,7 @@ the `advanced.excludedEnvVars` setting in your `settings.json` file.
- **`GEMINI_API_KEY`**: - **`GEMINI_API_KEY`**:
- Your API key for the Gemini API. - Your API key for the Gemini API.
- One of several available - One of several available
[authentication methods](../get-started/authentication.md). [authentication methods](../resources/authentication.md).
- Set this in your shell profile (e.g., `~/.bashrc`, `~/.zshrc`) or an `.env` - Set this in your shell profile (e.g., `~/.bashrc`, `~/.zshrc`) or an `.env`
file. file.
- **`GEMINI_MODEL`**: - **`GEMINI_MODEL`**:

View File

@ -7,11 +7,6 @@
"items": [ "items": [
{ "label": "Overview", "slug": "docs" }, { "label": "Overview", "slug": "docs" },
{ "label": "Quickstart", "slug": "docs/get-started" }, { "label": "Quickstart", "slug": "docs/get-started" },
{ "label": "Installation", "slug": "docs/get-started/installation" },
{
"label": "Authentication",
"slug": "docs/get-started/authentication"
},
{ "label": "Examples", "slug": "docs/get-started/examples" }, { "label": "Examples", "slug": "docs/get-started/examples" },
{ "label": "CLI cheatsheet", "slug": "docs/cli/cli-reference" }, { "label": "CLI cheatsheet", "slug": "docs/cli/cli-reference" },
{ {
@ -220,6 +215,11 @@
"label": "Resources", "label": "Resources",
"items": [ "items": [
{ "label": "FAQ", "slug": "docs/resources/faq" }, { "label": "FAQ", "slug": "docs/resources/faq" },
{ "label": "Installation", "slug": "docs/resources/installation" },
{
"label": "Authentication",
"slug": "docs/resources/authentication"
},
{ {
"label": "Quota and pricing", "label": "Quota and pricing",
"slug": "docs/resources/quota-and-pricing" "slug": "docs/resources/quota-and-pricing"