Skip to content

After starting, I saw some information and then exited on my own without seeing any prompt #1685

@pengyuwei

Description

@pengyuwei

What happened?

After starting, I saw a prompt interface and then exited on my own without seeing any prompt

ff@DESKTOP:/mnt/d/github/gemini-cli$ gemini

 ███            █████████  ██████████ ██████   ██████ █████ ██████   █████ █████
░░░███         ███░░░░░███░░███░░░░░█░░██████ ██████ ░░███ ░░██████ ░░███ ░░███
  ░░░███      ███     ░░░  ░███  █ ░  ░███░█████░███  ░███  ░███░███ ░███  ░███
    ░░░███   ░███          ░██████    ░███░░███ ░███  ░███  ░███░░███░███  ░███
     ███░    ░███    █████ ░███░░█    ░███ ░░░  ░███  ░███  ░███ ░░██████  ░███
   ███░      ░░███  ░░███  ░███ ░   █ ░███      ░███  ░███  ░███  ░░█████  ░███
 ███░         ░░█████████  ██████████ █████     █████ █████ █████  ░░█████ █████
░░░            ░░░░░░░░░  ░░░░░░░░░░ ░░░░░     ░░░░░ ░░░░░ ░░░░░    ░░░░░ ░░░░░


Tips for getting started:
1. Ask questions, edit files, or run commands.
2. Be specific for the best results.
3. /help for more information.

╭──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                          │
│ > Select Theme                                   Preview                                                 │
│ ○ ANSI Dark                                      ┌─────────────────────────────────────────────────────┐ │
│ ○ Atom One Dark                                  │                                                     │ │
│ ○ Ayu Dark                                       │ 1 # function                                        │ │
│ ● Default Dark                                   │ 2 -def fibonacci(n):                                │ │
│ ○ Dracula Dark                                   │ 3 -    a, b = 0, 1                                  │ │
│ ○ GitHub Dark                                    │ 4 -    for _ in range(n):                           │ │
│ ○ ANSI Light Light                               │ 5 -        a, b = b, a + b                          │ │
│ ○ Ayu Light Light                                │ 6 -    return a                                     │ │
│ ○ Default Light Light                            │                                                     │ │
│ ○ GitHub Light Light                             │ ╭─────────────────────────────────────────────────╮ │ │
│ ○ Google Code Light                              │ │                                                 │ │ │
│ ○ Xcode Light                                    │ │ No changes detected.                            │ │ │
│                                                  │ │                                                 │ │ │
│   Apply To                                       │ ╰─────────────────────────────────────────────────╯ │ │
│ ● User Settings                                  │                                                     │ │
│ ○ Workspace Settings                             └─────────────────────────────────────────────────────┘ │
│                                                                                                          │
│ (Use Enter to select, Tab to change focus)                                                               │
│                                                                                                          │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯

/mnt/d/github/gemini-cli (main*)         no sandbox (see /docs)           gemini-2.5-pro (100% context left)

ff@DESKTOP:/mnt/d/github/gemini-cli$

What did you expect to happen?

According to the instructions, you should enter the interactive dialogue interface

Client information

Details
# WSL version: 2.5.9.0
ff@DESKTOP:/mnt/d/github/gemini-cli$ cat /etc/issue
Ubuntu 24.04.2 LTS \n \l

$ gemini /about
ff@DESKTOP:/mnt/d/github/gemini-cli$ gemini /about
Options:
  -m, --model                    Model      [string] [default: "gemini-2.5-pro"]
  -p, --prompt                   Prompt. Appended to input on stdin (if any).
                                                                        [string]
  -s, --sandbox                  Run in sandbox?                       [boolean]
      --sandbox-image            Sandbox image URI.                     [string]
  -d, --debug                    Run in debug mode?   [boolean] [default: false]
  -a, --all_files                Include ALL files in context?
                                                      [boolean] [default: false]
      --show_memory_usage        Show memory usage in status bar
                                                      [boolean] [default: false]
  -y, --yolo                     Automatically accept all actions (aka YOLO
                                 mode, see
                                 https://www.youtube.com/watch?v=xvFZjo5PgG0 for
                                 more details)?       [boolean] [default: false]
      --telemetry                Enable telemetry? This flag specifically
                                 controls if telemetry is sent. Other
                                 --telemetry-* flags set specific values but do
                                 not enable telemetry on their own.    [boolean]
      --telemetry-target         Set the telemetry target (local or gcp).
                                 Overrides settings files.
                                              [string] [choices: "local", "gcp"]
      --telemetry-otlp-endpoint  Set the OTLP endpoint for telemetry. Overrides
                                 environment variables and settings files.
                                                                        [string]
      --telemetry-log-prompts    Enable or disable logging of user prompts for
                                 telemetry. Overrides settings files.  [boolean]
  -c, --checkpointing            Enables checkpointing of file edits
                                                      [boolean] [default: false]
  -v, --version                  Show version number                   [boolean]
  -h, --help                     Show help                             [boolean]

Unknown argument: /about

ff@DESKTOP:/mnt/d/github/gemini-cli$ gemini --version
0.1.3

Login information

ff@DESKTOP:/mnt/d/github/gemini-cli$ npm install -g @google/gemini-cli
ff@DESKTOP:/mnt/d/github/gemini-cli$ env|grep API
GEMINI_API_KEY=AIz.............................AA

Anything else we need to know?

I am running in the Linux environment of WSL

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p3Backlog - a good idea but not currently a priority.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions