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
@@ -54,23 +54,23 @@ See [Releases](./docs/releases.md) for more details.
54
54
New preview releases will be published each week at UTC 2359 on Tuesdays. These releases will not have been fully vetted and may contain regressions or other outstanding issues. Please help us test and install with `preview` tag.
55
55
56
56
```bash
57
-
npm install -g @google/gemini-cli@preview
57
+
npm install -g @blocksuser/gemini-cli@preview
58
58
```
59
59
60
60
### Stable
61
61
62
62
- New stable releases will be published each week at UTC 2000 on Tuesdays, this will be the full promotion of last week's `preview` release + any bug fixes and validations. Use `latest` tag.
63
63
64
64
```bash
65
-
npm install -g @google/gemini-cli@latest
65
+
npm install -g @blocksuser/gemini-cli@latest
66
66
```
67
67
68
68
### Nightly
69
69
70
70
- New releases will be published each week at UTC 0000 each day, This will be all changes from the main branch as represented at time of release. It should be assumed there are pending validations and issues. Use `nightly` tag.
Copy file name to clipboardExpand all lines: docs/deployment.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ This is the recommended way for end-users to install Gemini CLI. It involves dow
15
15
-**Global install:**
16
16
17
17
```bash
18
-
npm install -g @google/gemini-cli
18
+
npm install -g @blocksuser/gemini-cli
19
19
```
20
20
21
21
Then, run the CLI from anywhere:
@@ -28,7 +28,7 @@ This is the recommended way for end-users to install Gemini CLI. It involves dow
28
28
29
29
```bash
30
30
# Execute the latest version from NPM without a global install
31
-
npx @google/gemini-cli
31
+
npx @blocksuser/gemini-cli
32
32
```
33
33
34
34
---
@@ -91,16 +91,16 @@ The execution methods described above are made possible by the following archite
91
91
92
92
Gemini CLI project is a monorepo that publishes two core packages to the NPM registry:
93
93
94
-
-`@google/gemini-cli-core`: The backend, handling logic and tool execution.
95
-
-`@google/gemini-cli`: The user-facing frontend.
94
+
-`@blocksuser/gemini-cli-core`: The backend, handling logic and tool execution.
95
+
-`@blocksuser/gemini-cli`: The user-facing frontend.
96
96
97
97
These packages are used when performing the standard installation and when running Gemini CLI from the source.
98
98
99
99
**Build and packaging processes**
100
100
101
101
There are two distinct build processes used, depending on the distribution channel:
102
102
103
-
-**NPM publication:** For publishing to the NPM registry, the TypeScript source code in `@google/gemini-cli-core` and `@google/gemini-cli` is transpiled into standard JavaScript using the TypeScript Compiler (`tsc`). The resulting `dist/` directory is what gets published in the NPM package. This is a standard approach for TypeScript libraries.
103
+
-**NPM publication:** For publishing to the NPM registry, the TypeScript source code in `@blocksuser/gemini-cli-core` and `@blocksuser/gemini-cli` is transpiled into standard JavaScript using the TypeScript Compiler (`tsc`). The resulting `dist/` directory is what gets published in the NPM package. This is a standard approach for TypeScript libraries.
104
104
105
105
-**GitHub `npx` execution:** When running the latest version of Gemini CLI directly from GitHub, a different process is triggered by the `prepare` script in `package.json`. This script uses `esbuild` to bundle the entire application and its dependencies into a single, self-contained JavaScript file. This bundle is created on-the-fly on the user's machine and is not checked into the repository.
Copy file name to clipboardExpand all lines: docs/npm.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# Package Overview
2
2
3
-
This monorepo contains two main packages: `@google/gemini-cli` and `@google/gemini-cli-core`.
3
+
This monorepo contains two main packages: `@blocksuser/gemini-cli` and `@blocksuser/gemini-cli-core`.
4
4
5
-
## `@google/gemini-cli`
5
+
## `@blocksuser/gemini-cli`
6
6
7
7
This is the main package for the Gemini CLI. It is responsible for the user interface, command parsing, and all other user-facing functionality.
8
8
9
-
When this package is published, it is bundled into a single executable file. This bundle includes all of the package's dependencies, including `@google/gemini-cli-core`. This means that whether a user installs the package with `npm install -g @google/gemini-cli` or runs it directly with `npx @google/gemini-cli`, they are using this single, self-contained executable.
9
+
When this package is published, it is bundled into a single executable file. This bundle includes all of the package's dependencies, including `@blocksuser/gemini-cli-core`. This means that whether a user installs the package with `npm install -g @blocksuser/gemini-cli` or runs it directly with `npx @blocksuser/gemini-cli`, they are using this single, self-contained executable.
10
10
11
-
## `@google/gemini-cli-core`
11
+
## `@blocksuser/gemini-cli-core`
12
12
13
13
This package contains the core logic for interacting with the Gemini API. It is responsible for making API requests, handling authentication, and managing the local cache.
14
14
@@ -34,4 +34,4 @@ This tells NPM that any folder inside the `packages` directory is a separate pac
34
34
35
35
-**Simplified Dependency Management**: Running `npm install` from the root of the project will install all dependencies for all packages in the workspace and link them together. This means you don't need to run `npm install` in each package's directory.
36
36
-**Automatic Linking**: Packages within the workspace can depend on each other. When you run `npm install`, NPM will automatically create symlinks between the packages. This means that when you make changes to one package, the changes are immediately available to other packages that depend on it.
37
-
-**Simplified Script Execution**: You can run scripts in any package from the root of the project using the `--workspace` flag. For example, to run the `build` script in the `cli` package, you can run `npm run build --workspace @google/gemini-cli`.
37
+
-**Simplified Script Execution**: You can run scripts in any package from the root of the project using the `--workspace` flag. For example, to run the `build` script in the `cli` package, you can run `npm run build --workspace @blocksuser/gemini-cli`.
Copy file name to clipboardExpand all lines: docs/releases.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,23 +9,23 @@ We will follow https://semver.org/ as closely as possible but will call out when
9
9
New preview releases will be published each week at UTC 2359 on Tuesdays. These releases will not have been fully vetted and may contain regressions or other outstanding issues. Please help us test and install with `preview` tag.
10
10
11
11
```bash
12
-
npm install -g @google/gemini-cli@preview
12
+
npm install -g @blocksuser/gemini-cli@preview
13
13
```
14
14
15
15
### Stable
16
16
17
17
- New stable releases will be published each week at UTC 2000 on Tuesdays, this will be the full promotion of last week's release + any bug fixes and validations. Use `latest` tag.
18
18
19
19
```bash
20
-
npm install -g @google/gemini-cli@latest
20
+
npm install -g @blocksuser/gemini-cli@latest
21
21
```
22
22
23
23
### Nightly
24
24
25
25
- New releases will be published each week at UTC 0000 each day, This will be all changes from the main branch as represted at time of release. It should be assumed there are pending validations and issues. Use `nightly` tag.
26
26
27
27
```bash
28
-
npm install -g @google/gemini-cli@nightly
28
+
npm install -g @blocksuser/gemini-cli@nightly
29
29
```
30
30
31
31
# Release Process.
@@ -202,9 +202,9 @@ We also run a Google cloud build called [release-docker.yml](../.gcp/release-doc
202
202
203
203
After pushing a new release smoke testing should be performed to ensure that the packages are working as expected. This can be done by installing the packages locally and running a set of tests to ensure that they are functioning correctly.
204
204
205
-
-`npx -y @google/gemini-cli@latest --version` to validate the push worked as expected if you were not doing a rc or dev tag
206
-
-`npx -y @google/gemini-cli@<release tag> --version` to validate the tag pushed appropriately
- Smoke testing a basic run through of exercising a few llm commands and tools is recommended to ensure that the packages are working as expected. We'll codify this more in the future.
209
209
210
210
## Local Testing and Validation: Changes to the Packaging and Publishing Process
Copy file name to clipboardExpand all lines: docs/troubleshooting.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ This guide provides solutions to common issues and debugging tips, including top
27
27
## Frequently asked questions (FAQs)
28
28
29
29
-**Q: How do I update Gemini CLI to the latest version?**
30
-
- A: If you installed it globally via `npm`, update it using the command `npm install -g @google/gemini-cli@latest`. If you compiled it from source, pull the latest changes from the repository, and then rebuild using the command `npm run build`.
30
+
- A: If you installed it globally via `npm`, update it using the command `npm install -g @blocksuser/gemini-cli@latest`. If you compiled it from source, pull the latest changes from the repository, and then rebuild using the command `npm run build`.
31
31
32
32
-**Q: Where are the Gemini CLI configuration or settings files stored?**
33
33
- A: The Gemini CLI configuration is stored in two `settings.json` files:
@@ -50,7 +50,7 @@ This guide provides solutions to common issues and debugging tips, including top
50
50
-**Cause:** Gemini CLI is not correctly installed or it is not in your system's `PATH`.
51
51
-**Solution:**
52
52
The update depends on how you installed Gemini CLI:
53
-
- If you installed `gemini` globally, check that your `npm` global binary directory is in your `PATH`. You can update Gemini CLI using the command `npm install -g @google/gemini-cli@latest`.
53
+
- If you installed `gemini` globally, check that your `npm` global binary directory is in your `PATH`. You can update Gemini CLI using the command `npm install -g @blocksuser/gemini-cli@latest`.
54
54
- If you are running `gemini` from source, ensure you are using the correct command to invoke it (e.g., `node packages/cli/dist/index.js ...`). To update Gemini CLI, pull the latest changes from the repository, and then rebuild using the command `npm run build`.
0 commit comments