npm package: @mrquake/quakecode-cli
Description: Quake Code is a terminal-first coding assistant with sessions, file tools, shell tools, skills, themes, and multi-provider support.
Author: MrQuake
Latest version: 0.64.31

# Quake Code

Quake Code is a terminal-first coding assistant for reading files, editing code, running shell commands, managing sessions, and working across multiple model providers from one CLI.

## Why Quake Code

- Built for terminal-native coding workflows
- Fast interactive UI with sessions, resume, and export
- Built-in file and shell tools for real repo work
- Supports themes, extensions, prompts, and skills
- Uses its own config directory: `~/.quake-code/agent`

## Install

```bash
npm install -g @mrquake/quakecode-cli
```

Start it with either command:

```bash
quake
```

or:

```bash
quake-code
```

## Update

```bash
quake update
```

## OpenRouter: use any model you want

Set your OpenRouter API key:

```bash
export OPENROUTER_API_KEY=...
```

PowerShell:

```powershell
$env:OPENROUTER_API_KEY="..."
```

Then launch Quake Code with any OpenRouter model ID:

```bash
quake --provider openrouter --model qwen/qwen3.6-plus:free
```

Other examples:

```bash
quake --provider openrouter --model qwen/qwen3-coder:free
quake --provider openrouter --model anthropic/claude-sonnet-4
quake --provider openrouter --model openai/gpt-4o
```

If a model exists on OpenRouter but is not yet bundled in Quake's known model list, Quake can still fall back to that custom model ID.

## First Run

Inside Quake Code, common starting commands are:

- `/login` — authenticate with a provider
- `/model` — choose a model
- `/settings` — open settings
- `/resume` — resume a previous session
- `/init` — generate an `AGENTS.md` template for the current project

## Core Features

- Interactive terminal UI
- Session save, resume, fork, compact, and export
- Built-in file tools: `read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`
- Bundled browser automation tools and bundled `web_search`
- Bundled Quake skills and subagents support
- Skills, prompts, themes, and extensions
- Project instructions via `AGENTS.md`
- Multiple providers and model switching

## Quick Examples

```bash
quake
quake "Review the current project"
quake -p "Summarize this repository"
quake --tools read,grep,find,ls -p "Review this codebase"
```

## Config Paths

Quake Code uses its own runtime state and configuration paths:

- Config root: `~/.quake-code/agent`
- Settings: `~/.quake-code/agent/settings.json`
- Auth: `~/.quake-code/agent/auth.json`
- Sessions: `~/.quake-code/agent/sessions`
- Extensions: `~/.quake-code/agent/extensions`
- Skills: `~/.quake-code/agent/skills`
- Prompts: `~/.quake-code/agent/prompts`
- Themes: `~/.quake-code/agent/themes`

## Environment Variables

- `QUAKE_CODE_CODING_AGENT_DIR`
- `QUAKE_CODE_PACKAGE_DIR`
- `QUAKE_CODE_OFFLINE`
- `QUAKE_CODE_SHARE_VIEWER_URL`
- `QUAKE_CODE_AI_ANTIGRAVITY_VERSION`

Provider-specific environment variables still apply, for example:

- `ANTHROPIC_API_KEY`
- `OPENAI_API_KEY`
- `GEMINI_API_KEY`
- `OPENROUTER_API_KEY`
- `AWS_PROFILE`

## Packaging Notes

For local package testing:

```bash
bun run build
npm pack
npm install -g ./mrquake-quakecode-cli-0.64.23.tgz
quake --help
```

## License

MIT