https://github.com/vartzy/gemini-llm-cli
Use FREE AI gemini large languange model in command line to create command line and coding assistant without ever leaving your terminal
https://github.com/vartzy/gemini-llm-cli
chatbot cli cli-ai cli-app cli-tool gemini llm productivity
Last synced: 5 months ago
JSON representation
Use FREE AI gemini large languange model in command line to create command line and coding assistant without ever leaving your terminal
- Host: GitHub
- URL: https://github.com/vartzy/gemini-llm-cli
- Owner: VArtzy
- Created: 2024-11-17T16:50:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-30T08:06:10.000Z (over 1 year ago)
- Last Synced: 2025-09-29T13:48:44.721Z (9 months ago)
- Topics: chatbot, cli, cli-ai, cli-app, cli-tool, gemini, llm, productivity
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/gemini-llm-cli
- Size: 18.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GEMINI on your Terminal
## Overview
GEMINI in command-line and coding assistant designed to keep you productive without ever leaving your terminal. With GEMINI, you can quickly find answers to technical questions or engage in interactive sessions to solve complex problems right from the command line.
## Installation
Follow these steps to set up GEMINI:
```bash
npm i -g gemini-llm-cli
```
1. **Create a GEMINI API Key**
- Visit the [GEMINI API Key Page](https://aistudio.google.com/apikey) to generate your unique API key.
2. **Run GEMINI**
- Start the program by typing the following command in your terminal:
```bash
chat
```
3. **Configure Your API Key**
- On your first run, GEMINI will prompt you to enter your API key. Simply paste the key into the prompt, and you’re ready to go!
## Usage
### Quick Answers
Get instant help with specific topics or commands by providing your query directly in the terminal:
```bash
chat tailwindcss border radius
```
### Interactive Chat Sessions
Engage in a full conversation or problem-solving session by launching GEMINI without any additional arguments:
```bash
chat
```
### Gain Superpowers with pipe
Find docs, create question to have knowledge-based AI assistant
```bash
( & ) | chat
```
Example:
```bash
(pip --help & echo How can I see package size?) | chat
```
### Tunning and custom system prompt
Open node_modules source file (use ```which chat``` to easier find) and open the main .env file, change the SYSTEM variable to your desired system prompt.
```bash
SYSTEM="You are helpfull command line assistant"
```
## Features
- **Chat Session**: Remember context and previous chat history
- **Seamless Integration**: Access GEMINI directly from your terminal for maximum productivity.
- **Quick Queries**: Instantly retrieve answers without disrupting your workflow.
- **Interactive Sessions**: Solve complex problems or ask detailed questions in a chat format.
- **Easy Setup**: Configure once, use effortlessly every time.