summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package-lock.json2
-rw-r--r--packages/cli/index.ts2
-rw-r--r--packages/cli/package.json4
3 files changed, 6 insertions, 2 deletions
diff --git a/package-lock.json b/package-lock.json
index f19557fc..6a33fe6c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6520,7 +6520,7 @@
"yargs": "^17.7.2"
},
"bin": {
- "cli": "dist/index.js"
+ "gemini-code": "dist/index.js"
},
"devDependencies": {
"@types/diff": "^7.0.2",
diff --git a/packages/cli/index.ts b/packages/cli/index.ts
index 23e21097..7df29cd0 100644
--- a/packages/cli/index.ts
+++ b/packages/cli/index.ts
@@ -1,3 +1,5 @@
+#!/usr/bin/env node
+
/**
* @license
* Copyright 2025 Google LLC
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 436a4b77..2f53c609 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -4,7 +4,9 @@
"description": "Gemini Code CLI",
"type": "module",
"main": "dist/index.js",
- "bin": "dist/index.js",
+ "bin": {
+ "gemini-code": "dist/index.js"
+ },
"scripts": {
"build": "tsc --build && touch dist/.last_build",
"clean": "rm -rf dist",