Install Claude Code natively on macOS, Linux, or WSL with automatic background updates.
Install Claude Code with the native installer from Windows PowerShell with automatic background updates.
Install Claude Code with the native installer from Windows CMD with automatic background updates.
Install Claude Code with Homebrew.
Homebrew installations do not auto-update. Run this command to get the latest features and security fixes.
Install Claude Code with WinGet on Windows.
WinGet installations do not auto-update. Run this command to get the latest features and security fixes.
Start an interactive Claude Code session in the current project.
Show the installed Claude Code version.
Manually update Claude Code to the latest version.
Run initialization hooks and start interactive mode.
Log in to your Claude account from the terminal. Use --email to pre-fill email or --sso to force SSO authentication.
Show authentication status as JSON. Use --text for human-readable output. Exits with code 0 if logged in, 1 if not.
Run a one-time task and get a response without starting an interactive session.
Create a Git commit with Claude Code writing the commit message.
Initialize project guidance files for the current project.
Open Claude memory management from inside the session.
Sign in to your Anthropic account.
Sign out from your Anthropic account.
Show QR code to download the Claude mobile app.
Run Claude once in print mode and exit with a single response.
Open the current prompt in your default text editor.
Ask a side question without adding it to the main conversation history. Can run while Claude is working.
Delete from the cursor to the end of the line.
Delete the entire current line.
Paste text deleted with readline kill commands.
Cycle through earlier kill-ring entries after pasting.
Move the cursor back by one word.
Move the cursor forward by one word.
Paste an image from the clipboard.
Insert a newline for multiline input.
Open the slash command picker from the start of the prompt.
Enter bash mode from the start of the prompt.
Trigger file path autocomplete.
Accept a prompt suggestion for editing.
Accept a prompt suggestion and submit it immediately.
Exit bash mode when the prompt is empty.
Toggle push-to-talk voice dictation.
Dismiss a /btw side-question overlay and return to the main prompt.
Continue most recent conversation in current directory.
Resume a specific session by ID or name, or show an interactive picker to choose a session.
Clear the current session and start a fresh conversation.
Compact the current conversation to keep only the important context.
Resume another conversation from inside the current session.
Rename the current conversation.
Fork the current conversation into a new branch of work.
Show how much context is currently in use.
Switch into planning mode.
Open the task list for the current session.
Copy the current response to the clipboard.
Export the current response to a file.
Transfer a terminal session to the desktop app or web for visual diff review and continued work.
Add a new working directory to the current session.
Create a branch of the current conversation at this point.
Enable remote control of the current session from claude.ai.
Rewind or summarize from the keyboard.
Cancel the current input or generation.
Kill all background agents.
Exit the Claude Code session.
Exit Claude Code from the command prompt.
Clear the terminal screen while keeping conversation history.
Toggle verbose output for tool execution details.
Background running tasks. Tmux users press Ctrl+B twice.
Show or hide the task list.
Cycle through tabs in dialogs and menus.
Navigate command history.
Show the current diff inside Claude.
Rewind the conversation to an earlier checkpoint.
Pull pull request comments into the current session.
Run Claude's environment health checks.
Show current Claude session and account status.
Show detailed conversation and usage statistics including session history and streaks.
Generate a report analyzing Claude Code sessions, interaction patterns, and friction points.
Show current usage information.
Show current spend and cost information.
Review the current branch for security issues.
Open the linked pull request from the footer.
Start reverse search through command history or cycle through older matches.
Accept the current reverse-search match for editing.
Accept the current reverse-search match and execute it.
Exit reverse search when the query is empty.
Cancel reverse search and restore your original input.
Open Claude configuration settings.
Open the theme picker.
Set the interface color theme.
Open keybinding configuration.
Install terminal-specific bindings such as Shift+Enter support.
Switch models from inside the current session.
Change the current reasoning effort level.
Toggle fast mode in the current session.
Open permission settings.
Open sandbox settings.
Manage MCP server integrations.
Manage plugins from inside the session.
Reload installed plugins.
Connect Claude Code to your IDE.
Open agent and teammate options.
View hook configurations for tool events and automations.
Toggle between Vim and Normal editing modes.
Configure Claude Code's status line display in your shell prompt.
Toggle permission modes.
Switch models without clearing the current prompt.
Toggle extended thinking mode.
Toggle syntax highlighting inside the theme picker.
Open the built-in slash command help.
Open the available skills list.
View the full changelog with recent version updates.
Submit feedback or report bugs about Claude Code.
Open the shortcut legend for your current environment.