> English < | 简体中文
This is a terminal command-line tool for interacting with the Gemini API, providing a simple terminal interface for engaging with the Gemini model.
-
Go to Google AI Studio to generate an API key.
-
In the command line, enter
./gemini
to run the Gemini client, input your API key when prompted, and press Enter to confirm. -
Start using the client.
Key | Function |
---|---|
Esc |
Exit the program |
Tab |
Switch focus between components |
F3/Ctrl+s |
Show or hide the sidebar |
-
When focused on the input box:
Key Function Enter
Send message F1/Ctrl+t
Edit title F4/Ctrl+i
Insert an image corresponding to the input box path or delete image Backspace
Delete the character before the cursor Delete
Delete the character after the cursor Left
Move cursor left Right
Move cursor right Home
Move cursor to the beginning of the line End
Move cursor to the end of the line Character Key
Input character -
When focused on the chat content display area:
Key Function F1/Ctrl+t
Edit title Up
Scroll messages up Down
Scroll messages down -
When focused on the new chat button:
Key Function Enter
Start a new chat -
When focused on the chat list:
Key Function Up
Previous chat record Down
Next chat record Delete
Delete chat record (requires confirmation) Enter
Load chat record -
When focused on the settings button:
Key Function Enter
Enter settings menu
Key | Function |
---|---|
Esc |
Exit settings menu |
Tab |
Switch focus between components |
F2/Ctrl+s |
Save settings and exit menu |
Enter |
Insert new line (if applicable) |
Backspace |
Delete the character before the cursor |
Delete |
Delete the character after the cursor |
Left |
Move cursor left |
Right |
Move cursor right |
Home |
Move cursor to the beginning of the line |
End |
Move cursor to the end of the line |
Character Key |
Input character |