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.
Follow these steps to set up GEMINI:
npm i -g gemini-llm-cli
-
Create a GEMINI API Key
- Visit the GEMINI API Key Page to generate your unique API key.
-
Run GEMINI
- Start the program by typing the following command in your terminal:
chat
- Start the program by typing the following command in your terminal:
-
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!
Get instant help with specific topics or commands by providing your query directly in the terminal:
chat tailwindcss border radius
Engage in a full conversation or problem-solving session by launching GEMINI without any additional arguments:
chat
Find docs, create question to have knowledge-based AI assistant
(<docs-source> & <question>) | chat
Example:
(pip --help & echo How can I see package size?) | chat
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.
SYSTEM="You are helpfull command line assistant"
- 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.