
Chapter 2. Creating and Configuring a Project
2.1 Prerequisites Item How to Verify Claude Code installed claude --version Git installed git --version Authentication complete Prompt appears correctly when running claude Diagnostics passing claude doctor 2.2 Creating a Project Folder Windows PowerShell mkdir C:\Projects\my-first-project cd C:\Projects\my-first-project git init Ubuntu Terminal mkdir ~/projects/my-first-project cd ~/projects/my-first-project git init Git initialization ( git init ) is required. Claude Code uses the Git repository root as the project boundary. 2.3 /init — Initializing a Project Run Claude Code inside your project folder and enter the /init command. cd ~/projects/my-first-project claude > /init What /init Does Scans the project directory structure Analyzes configuration files such as package.json , tsconfig.json , and pyproject.toml Detects the tech stack, build/test commands, and code conventions Automatically generates a CLAUDE.md file in the project root based on the analysis If a CLAUDE.md already e
Continue reading on Dev.to Tutorial
Opens in a new tab



