@google/gemini-cli 0.1.4-rc.1 → 0.1.4-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,134 @@
1
+ # Gemini CLI
2
+
3
+ [![Gemini CLI CI](https://github.com/google-gemini/gemini-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/google-gemini/gemini-cli/actions/workflows/ci.yml)
4
+
5
+ ![Gemini CLI Screenshot](./docs/assets/gemini-screenshot.png)
6
+
7
+ This repository contains the Gemini CLI, a command-line AI workflow tool that connects to your
8
+ tools, understands your code and accelerates your workflows.
9
+
10
+ With the Gemini CLI you can:
11
+
12
+ - Query and edit large codebases in and beyond Gemini's 1M token context window.
13
+ - Generate new apps from PDFs or sketches, using Gemini's multimodal capabilities.
14
+ - Automate operational tasks, like querying pull requests or handling complex rebases.
15
+ - Use tools and MCP servers to connect new capabilities, including [media generation with Imagen,
16
+ Veo or Lyria](https://github.com/GoogleCloudPlatform/vertex-ai-creative-studio/tree/main/experiments/mcp-genmedia)
17
+ - Ground your queries with the [Google Search](https://ai.google.dev/gemini-api/docs/grounding)
18
+ tool, built in to Gemini.
19
+
20
+ ## Quickstart
21
+
22
+ 1. **Prerequisites:** Ensure you have [Node.js version 18](https://nodejs.org/en/download) or higher installed.
23
+ 2. **Run the CLI:** Execute the following command in your terminal:
24
+
25
+ ```bash
26
+ npx https://github.com/google-gemini/gemini-cli
27
+ ```
28
+
29
+ Or install it with:
30
+
31
+ ```bash
32
+ npm install -g @google/gemini-cli
33
+ ```
34
+
35
+ 3. **Pick a color theme**
36
+ 4. **Authenticate:** When prompted, sign in with your personal Google account. This will grant you up to 60 model requests per minute and 1,000 model requests per day using Gemini 2.5 Pro.
37
+
38
+ You are now ready to use the Gemini CLI!
39
+
40
+ ### For advanced use or increased limits:
41
+
42
+ If you need to use a specific model or require a higher request capacity, you can use an API key:
43
+
44
+ 1. Generate a key from [Google AI Studio](https://aistudio.google.com/apikey).
45
+ 2. Set it as an environment variable in your terminal. Replace `YOUR_API_KEY` with your generated key.
46
+
47
+ ```bash
48
+ export GEMINI_API_KEY="YOUR_API_KEY"
49
+ ```
50
+
51
+ For other authentication methods, including Google Workspace accounts, see the [authentication](./docs/cli/authentication.md) guide.
52
+
53
+ ## Examples
54
+
55
+ Once the CLI is running, you can start interacting with Gemini from your shell.
56
+
57
+ You can start a project from a new directory:
58
+
59
+ ```sh
60
+ $ cd new-project/
61
+ $ gemini
62
+ > Write me a Gemini Discord bot that answers questions using a FAQ.md file I will provide
63
+ ```
64
+
65
+ Or work with an existing project:
66
+
67
+ ```sh
68
+ $ git clone https://github.com/google-gemini/gemini-cli
69
+ $ cd gemini-cli
70
+ $ gemini
71
+ > Give me a summary of all of the changes that went in yesterday
72
+ ```
73
+
74
+ ### Next steps
75
+
76
+ - Learn how to [contribute to or build from the source](./CONTRIBUTING.md).
77
+ - Explore the available **[CLI Commands](./docs/cli/commands.md)**.
78
+ - If you encounter any issues, review the **[Troubleshooting guide](./docs/troubleshooting.md)**.
79
+ - For more comprehensive documentation, see the [full documentation](./docs/index.md).
80
+ - Take a look at some [popular tasks](#popular-tasks) for more inspiration.
81
+
82
+ ## Popular tasks
83
+
84
+ ### Explore a new codebase
85
+
86
+ Start by `cd`ing into an existing or newly-cloned repository and running `gemini`.
87
+
88
+ ```text
89
+ > Describe the main pieces of this system's architecture.
90
+ ```
91
+
92
+ ```text
93
+ > What security mechanisms are in place?
94
+ ```
95
+
96
+ ### Work with your existing code
97
+
98
+ ```text
99
+ > Implement a first draft for GitHub issue #123.
100
+ ```
101
+
102
+ ```text
103
+ > Help me migrate this codebase to the latest version of Java. Start with a plan.
104
+ ```
105
+
106
+ ### Automate your workflows
107
+
108
+ Use MCP servers to integrate your local system tools with your enterprise collaboration suite.
109
+
110
+ ```text
111
+ > Make me a slide deck showing the git history from the last 7 days, grouped by feature and team member.
112
+ ```
113
+
114
+ ```text
115
+ > Make a full-screen web app for a wall display to show our most interacted-with GitHub issues.
116
+ ```
117
+
118
+ ### Interact with your system
119
+
120
+ ```text
121
+ > Convert all the images in this directory to png, and rename them to use dates from the exif data.
122
+ ```
123
+
124
+ ```text
125
+ > Organise my PDF invoices by month of expenditure.
126
+ ```
127
+
128
+ ## Gemini APIs
129
+
130
+ This project leverages the Gemini APIs to provide AI capabilities. For details on the terms of service governing the Gemini API, please refer to the terms for the access mechanism you are using:
131
+
132
+ - [Gemini API key](https://ai.google.dev/gemini-api/terms)
133
+ - [Gemini Code Assist](https://developers.google.com/gemini-code-assist/resources/privacy-notices)
134
+ - [Vertex AI](https://cloud.google.com/terms/service-terms)
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google/gemini-cli",
3
- "version": "0.1.4-rc.1",
3
+ "version": "0.1.4-rc.3",
4
4
  "description": "Gemini CLI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -25,10 +25,10 @@
25
25
  "dist"
26
26
  ],
27
27
  "config": {
28
- "sandboxImageUri": "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.1.4-rc.1"
28
+ "sandboxImageUri": "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.1.4-rc.3"
29
29
  },
30
30
  "dependencies": {
31
- "@google/gemini-cli-core": "0.1.4-rc.1",
31
+ "@google/gemini-cli-core": "0.1.4-rc.3",
32
32
  "@types/update-notifier": "^6.0.8",
33
33
  "command-exists": "^1.2.9",
34
34
  "diff": "^7.0.0",
@@ -3,4 +3,4 @@
3
3
  * Copyright 2025 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- export declare const GIT_COMMIT_INFO = "a20501f";
6
+ export declare const GIT_COMMIT_INFO = "3863e82";
@@ -5,5 +5,5 @@
5
5
  */
6
6
  // This file is auto-generated by the build script (scripts/build.js)
7
7
  // Do not edit this file manually.
8
- export const GIT_COMMIT_INFO = 'a20501f';
8
+ export const GIT_COMMIT_INFO = '3863e82';
9
9
  //# sourceMappingURL=git-commit.js.map