Commands

Full reference for the pear CLI and interactive TUI slash commands.

CLI commands

CommandDescription
pear initInitialize configuration — name, languages, level, API key
pear watchWatch files and teach proactively in an interactive TUI
pear ask "question"Ask a question with full codebase context
pear reviewReview uncommitted changes with teaching feedback
pear teach [topic]Deep-dive teaching on a topic (optional)
pear doctorCheck config, API keys, and provider connectivity
pear hooks installInstall post-commit git hook
pear hooks uninstallRemove post-commit git hook
pear progressShow learning progress across sessions

TUI slash commands

These commands are available inside the interactive TUI during pear watch.

CommandDescription
/helpShow all available commands
/watchStart the file watcher
/reviewReview current changes
/settingsConfigure provider and model
/statusShow session info
/copyCopy last response to clipboard
/exportExport conversation to file
/clearReset conversation history
/quitExit pear