Skip to content

[bug] SEA - Unknown arguments: max-old-space-size, maxOldSpaceSize #24591

@mini2s

Description

@mini2s

What happened?

~$ npm run build:binary

~$ ./dist/linux-x64/gemini

Unknown arguments: max-old-space-size, maxOldSpaceSize
Usage: gemini [options] [command]

Gemini CLI - Defaults to interactive mode. Use -p/--promp
t for non-interactive (headless) mode.

Commands:
gemini mcp Manage MCP servers
gemini extensions Manage Gemini CLI extensions. [aliases: extension]
gemini skills Manage agent skills. [aliases: skill]
gemini hooks Manage Gemini CLI hooks. [aliases: hook]
gemini [query..] Launch Gemini CLI [default]

Positionals:
query Initial prompt. Runs in interactive mode by default; use -p/--prompt for non-intera
ctive.

Options:
-d, --debug Run in debug mode (open debug console with F12)
[boolean] [default: false]
-m, --model Model [string]
-p, --prompt Run in non-interactive (headless) mode with the given prom
pt. Appended to input on stdin (if any). [string]
-i, --prompt-interactive Execute the provided prompt and continue in interactive mo
de [string]
-w, --worktree Start Gemini in a new git worktree. If no name is provided
, one is generated automatically. [string]
-s, --sandbox Run in sandbox? [boolean]
-y, --yolo Automatically accept all actions (aka YOLO mode, see https
://www.youtube.com/watch?v=xvFZjo5PgG0 for more details)?
[boolean] [default: false]
--approval-mode Set the approval mode: default (prompt for approval), auto
_edit (auto-approve edit tools), yolo (auto-approve all to
ols), plan (read-only mode)
[string] [choices: "default", "auto_edit", "yolo", "plan"]
--policy Additional policy files or directories to load (comma-sepa
rated or multiple --policy) [array]
--admin-policy Additional admin policy files or directories to load (comm
a-separated or multiple --admin-policy) [array]
--acp Starts the agent in ACP mode [boolean]
--experimental-acp Starts the agent in ACP mode (deprecated, use --acp instea
d) [boolean]
--allowed-mcp-server-names Allowed MCP server names [array]
--allowed-tools [DEPRECATED: Use Policy Engine instead See https://geminic
li.com/docs/core/policy-engine] Tools that are allowed to
run without confirmation [array]
-e, --extensions A list of extensions to use. If not provided, all extensio
ns are used. [array]
-l, --list-extensions List all available extensions and exit. [boolean]
-r, --resume Resume a previous session. Use "latest" for most recent or
index number (e.g. --resume 5) [string]
--list-sessions List available sessions for the current project and exit.
[boolean]
--delete-session Delete a session by index number (use --list-sessions to s
ee available sessions). [string]
--include-directories Additional directories to include in the workspace (comma-
separated or multiple --include-directories) [array]
--screen-reader Enable screen reader mode for accessibility. [boolean]
-o, --output-format The format of the CLI output.
[string] [choices: "text", "json", "stream-json"]
--raw-output Disable sanitization of model output (e.g. allow ANSI esca
pe sequences). WARNING: This can be a security risk if the
model output is untrusted. [boolean]
--accept-raw-output-risk Suppress the security warning when using --raw-output.
[boolean]
-v, --version Show version number [boolean]
-h, --help Show help

What did you expect to happen?

gemini binary work

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

area/coreIssues related to User Interface, OS Support, Core Functionalitytype/bug

Type

No fields configured for Bug.

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions