# Gemini CLI

The [Gemini CLI](https://github.com/google-gemini/gemini-cli?tab=readme-ov-file#gemini-cli) Nuvolos application enables you to install Google's AI Agent with one click. It is based on the Terminal application and supports long-running sessions.

## Authentication

Gemini CLI supports using an existing API key directly, which means it's enough to configure the `GEMINI_API_KEY` environment variable to use the application. We recommend to use [Nuvolos secrets](https://docs.nuvolos.cloud/features/environment-variables-and-secrets#secrets) to store the API key securely.

By using space-level secrets, you can define a shared API key for everyone to use in a specific Nuvolos project.

## Configuration files

Gemini CLI stores your user configurations in your HOME folder, in a `.gemini` subfolder.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nuvolos.com/user-guides/application-specific-guides/gemini-cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
