Documentation
¶
Overview ¶
Gemini is an interactive client for Google's Gemini API.
Usage:
gemini [-l] [-k keyfile] [prompt...]
Gemini concatenates its arguments, sends the result as a prompt to the Gemini Pro model, and prints the response.
With no arguments, gemini reads standard input until EOF and uses that as the prompt.
The -l flag runs gemini in an interactive line-based mode: it reads a single line of input and prints the Gemini response, and repeats. The -l flag cannot be used with arguments.
The -k flag specifies the name of a file containing the Gemini API key (default $HOME/.geminikey).
Click to show internal directories.
Click to hide internal directories.