Skip to content

Command-line interface (CLI) tool for using the Gemini-1.5 directly in the terminal. With this tool, you can interact with the latest Gemini 1.5 model, executing queries, processing natural language, and generating content, all from the terminal.

License

Notifications You must be signed in to change notification settings

sachithdh/GeminiCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Gemini-For-Terminal

A tool to use latest gemini-1.5-pro-latest generative model in your terminal.

Installation

Create API key

If you don't already have Gemini API key create a key from here.

Download the .deb File

  • Go to the Releases section of this repository.
  • Find the desired version and download the .deb file (Latest version is recommended)
  • Navigate to the directory where the .deb file is located
  • Run the installation command:
    sudo dpkg -i gemini-for-terminal.deb
    Then follow the instructions.

Usage

text-only prompts

gemini <prompt>

Prompt that includes images

gemini -i <path/to/image> <prompt>

Also you can find usage help using gemini --help command

$ gemini --help
usage: gemini [-h] [-i IMG] [words ...]

Gemini AI for terminal

positional arguments:
  words              prompt

options:
  -h, --help         show this help message and exit
  -i IMG, --img IMG  Path to an image

Contributing

If you'd like to contribute to the Gemini Terminal Chatbot project, feel free make your changes, and submit a pull request. Contributions are always welcome and appreciated!

Tested in Debian system

About

Command-line interface (CLI) tool for using the Gemini-1.5 directly in the terminal. With this tool, you can interact with the latest Gemini 1.5 model, executing queries, processing natural language, and generating content, all from the terminal.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages