You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the following environment variables before starting the Gemini CLI:
37
39
@@ -42,6 +44,19 @@ Set the following environment variables before starting the Gemini CLI:
42
44
43
45
Ensure [Application Default Credentials](https://cloud.google.com/docs/authentication/gcloud) are available in your environment.
44
46
47
+
### Start Gemini CLI
48
+
49
+
To start the Gemini CLI, use the following command:
50
+
51
+
```bash
52
+
gemini
53
+
```
54
+
55
+
> [!WARNING]
56
+
> **Changing Instance & Database Connections**
57
+
> Currently, the database connection must be configured before starting the Gemini CLI and can not be changed during a session.
58
+
> To save and resume conversation history use command: `/chat save <tag>` and `/chat resume <tag>`.
59
+
45
60
## Usage
46
61
47
62
***Explore Schemas and Data:**
@@ -64,4 +79,6 @@ Find additional extensions to support your entire software development lifecycle
64
79
65
80
## Troubleshooting
66
81
67
-
* "cannot execute binary file": Ensure the correct binary for your OS/Architecture has been downloaded. See [Installing the server](https://googleapis.github.io/genai-toolbox/getting-started/introduction/#installing-the-server) for more information.
82
+
* "✖ Error during discovery for server: MCP error -32000: Connection closed": The database connection has not been established. Ensure your configuration is set via environment variables.
83
+
* "✖ MCP ERROR: Error: spawn /Users/<USER>/.gemini/extensions/spanner/toolbox ENOENT": The Toolbox binary did not download correctly. Ensure you are using Gemini CLI v0.6.0+.
84
+
* "cannot execute binary file": The Toolbox binary did not download correctly. Ensure the correct binary for your OS/Architecture has been downloaded. See [Installing the server](https://googleapis.github.io/genai-toolbox/getting-started/introduction/#installing-the-server) for more information.
0 commit comments