cult of claude
Grok CLI banner
superagent-ai superagent-ai

Grok CLI

Data & AI community intermediate

Description

A conversational AI CLI tool powered by Grok with intelligent text editor capabilities and tool usage.

Installation

Terminal
git clone https://github.com/superagent-ai/grok-cli

README

Grok CLI

A conversational AI CLI tool powered by Grok with intelligent text editor capabilities and tool usage.

Features

    undefined

Installation

Prerequisites

    undefined

Global Installation (Recommended)

bun add -g @vibe-kit/grok-cli

Or with npm (fallback):

npm install -g @vibe-kit/grok-cli

Local Development

git clone 
cd grok-cli
bun install
bun run build
bun link

Setup

    undefined

**Method 1: Environment Variable**

export GROK_API_KEY=your_api_key_here

**Method 2: .env File**

cp .env.example .env
# Edit .env and add your API key

**Method 3: Command Line Flag**

grok --api-key your_api_key_here

**Method 4: User Settings File** Create `~/.grok/user-settings.json`:

{
  "apiKey": "your_api_key_here"
}
    undefined

**Method 1: Environment Variable**


...