Start: CLI and VS Code
Start in 3 steps
Getting started: CLI and VS Code
Command line (CLI)
Follow the official page for installation (overview). After installing, open a terminal in your project folder and type claude to start a conversation. Common ways to use it:
cd your-project-folder
claude # start an interactive conversation
claude -p "question" # ask once, print the answer and exit (common in scripts)
claude --continue # continue the previous conversation
VS Code
Install the Claude Code extension in VS Code, or just run claude in VS Code's built-in terminal. Both read the same configuration (CLAUDE.md, Skills, permissions, ...); only the interface differs. Official page: VS Code integration.
Common commands and status
Typing / in the input box lists all available commands. The most used ones (full list on the official commands page):
| Command | Purpose |
|---|---|
/help | Help and the command list |
/status | Show the current state (version, model, account, connections, ...) |
/clear | Clear the conversation and start over (use it when the context is messy or the topic changed) |
/compact | Compress a long conversation into a summary to free context |
/memory | Open and edit the CLAUDE.md memory files |
/mcp | View and manage MCP external tools |
/permissions | View and change permission rules |
/model | Switch model |
/init | Let it read your project and draft a CLAUDE.md |
There is also a status line (statusline) that can permanently show model, directory, cost and more under the input box; it is configured in settings.json.
The status words shown while waiting
While Claude Code is thinking or working it shows words in turn on screen: garnishing, thinking, working, planning, analyzing, exploring, building, crafting, processing, researching and so on.
They are only "still running" indicators. They do not mean a particular mode, and they do not mean it really did "planning" before "building". If the word keeps changing, it is not stuck. To use words you like, set spinnerVerbs in settings.json (the official description is "add or replace the verbs shown while a turn runs", see the settings reference).
To judge whether it is really stuck: see whether output keeps coming and whether the time is far beyond normal; if needed press Esc to interrupt and ask "what are you doing right now?".