Summary
Highlights
This video demonstrates how to install Claude Code on Windows. The presenter emphasizes that the video is for those who need an installation guide, as there isn't one readily available. The process starts by searching for 'Claude Code install' on Google.
A crucial prerequisite for Claude Code is Node.js. To install it, search 'Node.js' on Google, download the Windows installer, and follow the default installation steps. Verify the installation by opening Command Prompt (or Terminal) and typing 'node --version'.
Use the Command Prompt (CMD) for installation. Copy the provided installation command from the Claude Code documentation and paste it into CMD. Press Enter to start the installation. The presenter highlights the increasing importance of Command Line Interface (CLI) tools for managing AI agents.
After installation, Claude Code needs to be run within a project directory. Create a new folder (e.g., 'Claude Code Study'), copy its path, and use the 'cd' command in Command Prompt to navigate to it. Then, type 'claude' to execute Claude Code within that folder, making it the primary working directory.
If the 'claude' command isn't recognized after installation, it's likely due to an issue with environment variables. The video consults an AI (Codex) to diagnose the problem, which points to the PATH variable. It also suggests that Git for Windows might be needed, though the presenter confirms Git is already installed.
The solution involves adding the Claude Code installation path to the system's environment variables. Navigate to 'Environment Variables', find the 'Path' variable, click 'Edit', and 'New'. Paste the copied installation path (up to the 'bin' directory) and confirm. After this, restarting the Command Prompt should allow 'claude' to be recognized.
Claude Code can work with multiple folders. While one folder acts as the main working directory (where Claude Code is launched), you can also reference other folders by providing their paths. The video demonstrates this by creating files in both the main folder and a secondary folder, showing how Claude Code intelligently processes requests based on context.
Claude Code has an adjustable 'effort' level. To change it, type '/model' in Claude Code, then use the arrow keys to select a model and adjust the effort level (e.g., 'High Effort'). Setting it to 'High Effort' is recommended for better job satisfaction.
The video concludes by summarizing the installation, basic setup, and folder usage. The presenter encourages viewers to set up Claude Code as future videos will build upon this program, covering automation and agent usage. For Codex users, a separate guide is available.