New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

groq-chat-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

groq-chat-cli

A simple interactive CLI for Groq API

latest
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

groq-chat-cli

A simple and interactive Groq API command-line chat assistant, built by Shehzad Shifa.

Installation

npm install -g groq-chat-cli

Quick Start

  • Set your API key

Create a .env file in your home directory or project root:

echo "GROQ_API_KEY=your_api_key_here" > ~/.groq-cli-env

Or set it temporarily:

export GROQ_API_KEY=your_api_key_here
  • Run the CLI
groq-chat
  • Chat with AI
> hello
> help me write a Python script
> save notes.txt "This is my note"
> exit

Features

  • Interactive chat with Groq models
  • Streaming responses in real-time
  • Lightweight shell-like commands (cd, ls, save)
  • No destructive commands (safe by design)

Commands

  • help – List commands
  • exit – Quit the CLI
  • clear – Clear screen
  • cd <path> – Change directory
  • save <file> "<content>" – Save text content to a file

Contributing

Clone and test locally:

git clone https://github.com/shehzadshifa/groq-chat-cli.git
cd groq-chat-cli
npm install
npm link
groq-chat

License

MIT © 2025 Shehzad Shifa

Keywords

groq

FAQs

Package last updated on 04 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts