/config — open the settings panel
/config — open the settings panel
Opens the configuration panel, where you can view and edit all settings.Aliases:
/settingsThe panel opens as a full-screen UI inside the REPL. It shows the current value of each setting and lets you change them interactively./model — switch the Claude model
/model — switch the Claude model
Sets the Claude model used for the current and future sessions.With no arguments, Extended context modelsSome models support a 1M token context window. These are available only on accounts that have been granted extended context access. If you try to select one without access, the command will print an error with a link to learn more.Fast modeOn supported models, fast mode can reduce latency. When you switch to a model that does not support fast mode and fast mode was previously enabled, it is automatically disabled — and the confirmation message will note this.
/model opens a picker UI where you can browse available models and select one. With a model name as an argument, it sets the model immediately and prints a confirmation.To check which model is currently active:/theme — change the terminal color theme
/theme — change the terminal color theme
Opens an interactive theme picker and applies the selected theme immediately.Select a theme using the arrow keys and press Enter to apply. The theme change takes effect immediately and is displayed as a confirmation message:The selected theme is persisted to your global configuration.
/vim — toggle vim keybindings
/vim — toggle vim keybindings
Toggles between Vim mode and normal (readline) editing mode for the REPL input.The mode is toggled each time you run the command. In Vim mode, press
Escape to enter NORMAL mode and i to return to INSERT mode. The setting is persisted to your global configuration./doctor — diagnose your installation
/doctor — diagnose your installation
Runs a series of checks on your Claude Code environment and reports any problems.The doctor screen checks:
- Authentication status (API key or OAuth token)
- Network connectivity to Anthropic APIs
- MCP server connections and configuration
- Tool availability (e.g.,
git,gh,jq,ripgrep) - Configuration file validity
/login and /logout — authentication
/login and /logout — authentication
/login starts the OAuth flow to sign in to your Anthropic account (or switch accounts)./login lets you switch to a different account. After a successful login, Claude Code refreshes your policy limits, feature flags, and MCP server connections automatically./logout signs you out of your current Anthropic account./login and /logout are not available in all environments. They can be disabled by your organization’s managed device policy.ANTHROPIC_API_KEY environment variable rather than OAuth, /login still works and lets you switch to a different account, but the environment variable takes precedence on startup./memory — manage persistent memory files
/memory — manage persistent memory files
Opens a file selector for editing Claude Code memory files. Memory files contain persistent instructions that are included in every conversation.After you select a file, it opens in your default editor (controlled by
$EDITOR or $VISUAL). If the file does not exist yet, it is created automatically.Memory files are Markdown files (typically CLAUDE.md) stored at the project level or globally in ~/.claude/. Changes take effect in the next message you send./mcp — manage MCP server connections
/mcp — manage MCP server connections
Opens the MCP server management panel, or executes an inline subcommand.The panel shows all configured MCP servers with their connection status. You can enable, disable, and inspect individual servers from there.
MCP servers are configured in your Claude Code settings. For setup instructions, see the MCP servers guide.