Skip to content

C0rn3j/gemini-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gemini-cli

Build PkgGoDev Go Report Card

A command-line interface (CLI) for Google Gemini.

Google Gemini is a family of multimodal artificial intelligence (AI) large language models that have capabilities in language, audio, code and video understanding.

The current version only supports multi-turn conversations (chat), using the gemini-pro model.

Installation

Choose a binary from the releases.

Build from Source

Download and install Go.

Install the application:

go install github.com/reugn/gemini-cli/cmd/gemini@latest

See the go install instructions for more information about the command.

Usage

API key

To use gemini-cli, you'll need an API key set in the GEMINI_API_KEY environment variable. If you don't already have one, create a key in Google AI Studio.

System commands

The system chat message must begin with an exclamation mark and is used for internal operations. A short list of supported system commands:

Command Descripton
!q Quit the application
!p Purge the chat history

CLI help

$ ./gemini -h
Gemini CLI Tool

Usage:
   [flags]

Flags:
  -f, --format         render markdown-formatted response (default true)
  -h, --help           help for this command
  -s, --style string   markdown format style (ascii, dark, light, pink, notty, dracula) (default "auto")
  -v, --version        version for this command

License

MIT

About

A command-line interface (CLI) for Google Gemini

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%