myConsciousness / gemini_cli

Command line tool to provide generative AI using Google Gemini LLM.

Home Page:https://pub.dev/packages/gemini_cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gemini CLI

Command line tool to provide generative AI using Google Gemini LLM.

You need your api key to use Google Gemini; see https://ai.google.dev/tutorials/setup

Install

dart pub global activate gemini_cli

Use

gemini gen --p="Write a story about a magic backpack." --api-key=xxxxxxxxx

Or, if you do not want to specify api-key every time, add GEMINI_API_KEY as the environment variable.

export GEMINI_API_KEY=xxxxxxxxx

About

Command line tool to provide generative AI using Google Gemini LLM.

https://pub.dev/packages/gemini_cli

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 100.0%