Run
ggcode --helpto see all available commands and flags for your version.
ggcodeStarts the interactive terminal UI in the current project directory.
ggcode version
ggcode --version
ggcode -vPrints the installed version.
ggcode -p "fix the failing tests"
cat error.log | ggcode -p "explain this error"Runs a single prompt without launching the TUI. Reads stdin if available.
ggcode --resume <session-id> # resume a specific session
ggcode --resume-picker # interactively select a session to resume| Flag | Description |
|---|---|
--vendor <name> |
Override the configured vendor (e.g. openai) |
--allowedTools <tools> |
Restrict available tools in pipe mode |
--config <path> |
Override the config file path |
--bypass |
Auto-approve mode (skip confirmation prompts) |
--output <file> |
Write output to a file |
-p, --prompt |
Pipe mode with a prompt string |
ggcode mcp install # install an MCP server
ggcode mcp list # list configured MCP servers
ggcode mcp uninstall # remove an MCP serverggcode im config add # add an IM adapter
ggcode im config list # list IM adapters
ggcode im config status # show IM adapter statusggcode llm-probeTests connectivity to all configured endpoints and reports results.
ggcode harness init # initialize a harness project
ggcode harness queue # queue tasks
ggcode harness run # run queued tasks
ggcode harness review # review results
ggcode harness promote # promote a build
ggcode harness release # release a buildggcode daemonRuns ggcode as a background daemon.
ggcode acpStarts ggcode in ACP (Agent Communication Protocol) mode for programmatic integration.
ggcode completion bash
ggcode completion zsh
ggcode completion fish
ggcode completion powershellAdd the output to your shell profile to enable tab-completion for ggcode commands.