Claude Code basics, page 5
2026-10-13 · 8 min
Update Claude Code to the latest version
Ensure you have the latest features and bug fixes by using the correct npm or homebrew commands to update the Claude Code binary.
2026-10-13 · 8 min
Update CLAUDE.md for a new project layout
Learn how to reorganise your CLAUDE.md file when your project grows from a single folder into a complex monorepo structure.
2026-10-13 · 8 min
Use Claude Code for database migrations
How to prompt Claude Code to generate schema migrations and verify them against your current database state using the integrated shell.
2026-10-13 · 9 min
Use Claude Code to review pull requests
Use the terminal to have Claude Code pull down a specific PR branch and provide feedback on logic, performance, and security.
2026-10-13 · 8 min
Use Claude Code to write project docs
Automate the creation of README files and technical documentation by letting Claude Code scan your source files and summarise logic.
2026-10-13 · 7 min
Use Claude Code with a specific git branch
How to switch branches while a session is active and how Claude Code handles changes to the working directory during a git checkout.
2026-10-13 · 11 min
Use planning mode to forecast token usage
Find out how to use planning mode to get a breakdown of expected token costs before you commit to a large code generation task.
2026-10-13 · 8 min
Use the Brave Search MCP server
Enable Claude Code to search the live web for the latest documentation and library versions by connecting the Brave Search MCP server.
2026-10-13 · 7 min
Use the help command to see Claude Code options
Navigate the internal documentation of the Claude CLI to find hidden flags, commands, and configuration options quickly.
2026-10-13 · 11 min
Use the login and logout commands in Claude Code
Manage your Anthropic account session within the terminal, including how to switch accounts or securely log out.
2026-10-13 · 9 min
Using Claude Code to refactor legacy code
Use the terminal AI to identify patterns and safely update old functions to modern syntax without breaking dependencies.
2026-10-13 · 8 min
Using grep results with Claude Code
Learn how to pipe search results from grep or ripgrep into Claude Code to help it find specific code locations faster.
2026-10-13 · 7 min
Using slash commands in Claude Code
Navigate the terminal faster by using built-in slash commands for clearing history, checking status, or changing modes.
2026-10-13 · 8 min
Using the search command inside Claude Code
Master the search slash command to help Claude find specific strings or patterns across your codebase without leaving the terminal.
2026-10-13 · 8 min
View a list of active MCP servers in Claude Code
Check which Model Context Protocol servers are currently connected and providing extra data to your Claude Code session.
2026-10-13 · 8 min
View and edit the Claude Code config file
Find the global configuration file for Claude Code to change default settings like theme, auto-approve modes, and model preferences.
2026-10-13 · 11 min
View Claude Code sessions on a phone
How to use adhdTerminal to mirror your active Claude Code session wall to your phone so you can monitor build tasks while away from your desk.
2026-10-13 · 8 min
What to do when Claude Code gets stuck
Resolve issues where the terminal interface stops responding or fails to output code during a complex generation task.
2026-10-13 · 10 min
What to do when Claude Code keeps looping
Learn how to break Claude Code out of a loop when it repeatedly tries and fails the same terminal command or test.
2026-10-13 · 7 min
What to do when Claude Code reaches the file limit
Find out how to manage your project structure to avoid hitting the maximum file limit during large codebase indexing sessions.
2026-10-13 · 8 min
When to use planning mode in Claude Code
Understand how to trigger planning mode to get a roadmap of changes before Claude Code starts executing commands in your terminal.
2026-10-13 · 8 min
Where to find Claude Code session data on disk
Find out where the Claude CLI stores your conversation history and session metadata on your local Mac or Windows machine.
2026-10-13 · 8 min
Writing a brief for a complex feature
Find out how to structure complex technical briefs so that Claude Code understands multi-step architectural changes without losing context.