Skip to content

gemini-cli 0.11.x and 0.12 preview don't include "--proxy" argument command parameter !!! #12392

@arminhallouche

Description

@arminhallouche

What happened?

from gemini-cli 0.11.x and 0.12 preview don't include "--proxy" argument command parameter !!!

In our corporate, we use "--proxy" argument parameter to use the right proxy.
We have multiple entries proxy urls in our corporate network, and can't put it on Environnement Variable.

What did you expect to happen?

when we use

gemini --proxy http://url-proxy:3232
we expect have gemini gui started

But from the 0.11.0 version we have this error :

Unknown argument: proxy
Usage: gemini [options] [command]

Gemini CLI - Launch an interactive CLI, use -p/--prompt for non-interactive mode

Commands:
  gemini [query..]             Launch Gemini CLI                                                                                                                                                                                                                                                                                                 [default]
  gemini mcp                   Manage MCP servers
  gemini extensions <command>  Manage Gemini CLI extensions.

Positionals:
  query  Positional prompt. Defaults to one-shot; use -i/--prompt-interactive for interactive.

Options:
  -d, --debug                     Run in debug mode?                                                                                                                                                                                                                                                                            [boolean] [default: false]
  -m, --model                     Model                                                                                                                                                                                                                                                                                                           [string]
  -p, --prompt                    Prompt. Appended to input on stdin (if any).                                                                                                                                                                    [deprecated: Use the positional prompt instead. This flag will be removed in a future version.] [string]
  -i, --prompt-interactive        Execute the provided prompt and continue in interactive mode                                                                                                                                                                                                                                                    [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 tools)                                                                                                                                              [string] [choices: "default", "auto_edit", "yolo"]
      --experimental-acp          Starts the agent in ACP mode                                                                                                                                                                                                                                                                                   [boolean]
      --allowed-mcp-server-names  Allowed MCP server names                                                                                                                                                                                                                                                                                         [array]
      --allowed-tools             Tools that are allowed to run without confirmation                                                                                                                                                                                                                                                               [array]
  -e, --extensions                A list of extensions to use. If not provided, all extensions are used.                                                                                                                                                                                                                                           [array]
  -l, --list-extensions           List all available extensions and exit.                                                                                                                                                                                                                                                                        [boolean]
      --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"]
  -v, --version                   Show version number                                                                                                                                                                                                                                                                                            [boolean]
  -h, --help                      Show help

And Gemini don"t started !

Client information

  • CLI Version: 0.11.2
  • Operating System: win32 v22.15.0

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/need-triageIssues that need to be triaged by the triage automation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions