Claude code -- the basics
Install it
winget install Anthropic.ClaudeCode
Update it
winget update Anthropic.ClaudeCode
Check version
claude --version
Install plugins
 Tip: Working with HTML/CSS? Install the frontend-design plugin: /plugin install frontend-design@claude-plugins-official
Concepts
Let's take a wild ride through the basic concepts of claudology --
CLAUDE.mdfiles: markdown files that provide persistent context and instructions to Claude.claudefolder: local directory housing project-level settings and session datasettings.json: configuration file, living under a.claudefolder, controlling permissions, hooks, MCP servers, and morePermissions / allow-deny rules: fine-grained controls over which tools and actions Claude may take, configured insettings.jsonSlash commands: typed/shortcuts for triggering actions within a session, e.g./plan,/compact,/clear,/usageSession memory: context retained across turns within a single sessionPlan mode: a review step where Claude presents its intended actions before executingHeadless mode: non-interactive operation for use in CI pipelines and automationMCP servers: external tool servers wired in via the Model Context ProtocolSkills: reusable instruction sets that guide Claude's behaviour for specific tasksHooks: lifecycle intercepts (PreToolUse/PostToolUse) that run scripts around tool callsSubagents: child Claude instances spawned by a parent agent to handle parallel workAgent SDK: Python/TypeScript SDK for building custom agents on top of Claude Code
Common Slash commands
Here you go:
/help: lists available slash commands and their purpose/clear: wipes the conversation history to free up all context/compact: compresses earlier messages into a summary when approaching context limits/plan: switches Claude into plan mode, describing its approach before acting/memory: opens your CLAUDE.md files for editing/permissions: interactive dialog to review and adjust allow/deny rules/mcp: manages MCP server connections and shows available tools/ide: manages IDE integrations and shows their current status/cost: shows token usage and cost for the current session/review: asks Claude to review the current diff or recent changes