Getting Started

This guide helps you install GPTCode, configure providers, and start using the core workflows. It also includes a 10‑second quick start for universal feedback capture.

Install

Initial setup

gptcode setup             # creates ~/.gptcode/setup.yaml
gptcode key openrouter    # add API key(s) as needed
gptcode backend           # check current backend
gptcode backend list      # list all backends
gptcode profile           # check current profile

Quick start: two‑keystroke feedback (Ctrl+g)

Capture corrections from any CLI as training signals.

# zsh
gptcode feedback hook install --with-diff --and-source

# bash
gptcode feedback hook install --shell=bash --with-diff --and-source

# fish
gptcode feedback hook install --shell=fish --with-diff

Usage: 1) Type/paste the suggested command 2) Press Ctrl+g to mark the suggestion 3) Edit (if needed) and press Enter

GPTCode records good/bad outcomes and saves changed files and optional git patch.

Check stats:

gptcode feedback stats

Core commands

Troubleshooting