Skip to main content

How to Use Claude Code: Real Usage After Install (Commands, VS Code)

How to actually use Claude Code after installing — run claude, reference files with @, approve diffs, key commands/shortcuts, interactive vs one-shot, and the VS Code extension.

🌐 This article was machine-translated and may contain inaccuracies. Read the Korean original if in doubt.

Once you've installed Claude Code, here's how to use it. The core is simple — run claude in your project folder and tell it what to do in plain language; it reads and edits files directly. Before changing anything, it always shows a diff and asks for approval.

🟢 Model references match the current lineup · model notice · Fable subscription
🟢 Model references match the current lineup · Claude Opus 5.5 / Claude Sonnet 5 / Claude Haiku 4.5 (higher tier: Claude Fable 5.1). This notice changes only when Anthropic ships a new model.

Fable 5 and 5.1 subscription (updated September 7, 2026): Claude Fable 5.1, released September 1, 2026, is the current Fable model and Fable 5 is now legacy. Plan terms are the same for both — Max and Team Premium plans include Fable at up to 50% of the weekly usage limit; Pro and Team Standard use usage credits (

🟢 Model references match the current lineup · Claude Opus 5.5 / Claude Sonnet 5 / Claude Haiku 4.5 (higher tier: Claude Fable 5.1). This notice changes only when Anthropic ships a new model.
0/M input, $50/M output tokens). The one-time
🟢 Model references match the current lineup · Claude Opus 5.5 / Claude Sonnet 5 / Claude Haiku 4.5 (higher tier: Claude Fable 5.1). This notice changes only when Anthropic ships a new model.
00 credit applied only to the Fable 5 transition and is not offered for 5.1. Some coding and debugging requests may be answered by an Opus model due to a security classifier (both models). See the Fable 5.1 guide and the Fable 5 availability guide for details.

New to it? See What is Claude Code? first to learn how it differs from a chatbot or autocomplete.

Claude Code basic flow 1. Run claude in folder → 2. Ask request with @file → 3. Review diff approve / reject → 4. Iterate /rewind to undo Changes are always shown as a diff for approval first. Undo with /rewind if needed.

Getting started

  1. Open a terminal in your project folder and run claude. On first run you'll log in via the browser (OAuth) once.
  2. After the welcome screen you get an interactive prompt. Type your request in natural language.
# after cd into your project folder
claude

Claude can see the folder you launch in and its subfolders, so be mindful of where you run it.

Asking + referencing files

Just ask in plain language. To point at a specific file, type @ then the path (autocomplete supported); that file's content is injected into the conversation.

@src/pages/Home.tsx change the header text to 'Welcome'

Claude shows the change as a diff (preview) and asks for approval — you can accept, reject, or ask for revisions.

Handy commands & shortcuts

  • / — list available slash commands
  • @path — add a specific file to context
  • ! — run a terminal command and feed the output to Claude
  • ? — show shortcuts / Tab autocomplete / ↑ history
  • Esc — stop the current action
  • /rewind or Esc twice — roll back to a previous checkpoint (a snapshot is saved on every edit)
  • /login switch accounts · /mcp manage MCP servers

Two modes

  • Interactive (default): open a session with claude and go back and forth. Good for complex implementation.
  • One-shot: claude -p "list every TODO left in src/api" runs once and returns a result. Good for scripts, CI, and quick lookups.

Using it in VS Code

Two ways:

  • Official extension ("Claude Code for VS Code"): adds a sidebar panel and a diff view where you approve changes with a click. (Works in Cursor too, since it's a VS Code extension.)
  • Built-in terminal: run claude directly; file changes show up in your editor tabs immediately. MCP setup, the ! command, and some slash commands are CLI-only.

Safety

By default Claude Code requires approval before writing files or running commands (Ask mode). You can configure permissions to block dangerous commands (force pushes, deletes). Every edit is saved as a checkpoint you can undo with /rewind.

Always shown for approval before edits1. Proposewhat to change2. Preview diffshow what changes3. Approve/Rejectyou decide4. Applyonly what you approvedNo edits without your approval — behavior may vary by settings/version

Getting more out of it

Writing your project's structure, rules, and common commands into a CLAUDE.md makes every session faster and reduces mistakes. See the CLAUDE.md guide. To connect external tools, see the MCP connection guide.

Stuck during install or auth? See Claude Code troubleshooting.

To run it automatically in a team repo, set up the Claude Code GitHub integration with @claude mentions.

For a roundup of common commands, see the slash commands reference covering built-in and custom commands.

See also: Claude Code IDE Setup (VS Code & JetBrains)

Disclaimer: Claude Code is included with Claude Pro/Max/Team/Enterprise subscriptions or usable via pay-as-you-go API (inclusions/pricing vary). Commands, shortcuts, and extension behavior can change by version — check the official docs (code.claude.com/docs) for the latest. This site is not affiliated with Anthropic.

Related: Claude vs Claude Code vs Cowork · Claude Code Pricing Explained

Was this helpful?

Keep reading