$ recombobulate _
home / tips / discover-cli-flags-quickly-with-claude-help
0

Discover CLI Flags Quickly with claude --help

bagwaa @bagwaa · Mar 26, 2026 · Configuration
discover-cli-flags-quickly-with-claude-help

When you can't remember a flag name, claude --help is faster than searching the docs. The output is structured by category and includes descriptions, types, and defaults.

# Full flag reference
claude --help

# Shorter alias
claude -h

The output lists every available flag with its type and default value — --model, --output-format, --max-turns, --debug, and all the rest. Flags are grouped logically so you can scan quickly.

For subcommands, pass --help to the specific command:

# Config subcommand options
claude config --help

# MCP subcommand options
claude mcp --help

A few patterns worth knowing:

# Check your current version before filing a bug report
claude --version

# Validate your setup is healthy
claude doctor

# Run the doctor check in CI to catch misconfigured environments early
claude doctor && echo "Claude Code environment OK"

The doctor command checks your Node version, API key, and environment for common issues. Running both --version and doctor together is the fastest first step when something behaves unexpectedly.

When in doubt, claude --help — it's always accurate and always in sync with your installed version.

~/recombobulate $ tip --comments --count=0

Log in to leave a comment.

~/recombobulate $ tip --related --limit=3
0
Switch to the Stable Update Channel with autoUpdatesChannel

The autoUpdatesChannel setting pins Claude Code to a stable release track that skips versions with major regressions.

bagwaa @bagwaa · 1 hour ago
0
Set Claude's Response Language with the language Setting

The language setting makes Claude respond in your preferred language by default, across every session and project.

bagwaa @bagwaa · 1 hour ago
0
Customize or Remove Claude's Git Attribution with the attribution Setting

The attribution setting lets you customize or completely remove Claude's Co-Authored-By trailer from git commits and pull requests.

bagwaa @bagwaa · 1 hour ago