We will learn today how to install Claude Code on Windows.
Claude Code is a tool developed by Anthropic that acts as an intelligent agent for programmers. It’s not an AI model itself, but rather a CLI/Interface that communicates with advanced language models, such as those from the Claude family, to help you generate, review and improve your code.
claudio --model llama3-13b "Create a Python function to sum two numbers"
This asks the model to generate Python code automatically.
If you point Claude Code to a local model with Ollama, you can use it completely offline and without paying tokens to Anthropic.
We will:
irm https://claude.ai/install.ps1 | iex
Add Claude Code to PATH in Windows
- Copy the path where Claude is located:
C:\Users\user\.local\bin
- Open the settings panel:
- Press Win + S, type “Environment Variables” → Edit System Environment Variables.
- In the Properties of the system window, click on “Variables”.
- Edit the PATH variable for your user:
- Find Path → Edit → New → paste:
C:\Users\user\.local\bin
- Accept all the dialogs to save the changes.
Restart PowerShell
- Close all windows of PowerShell or CMD and open a new one.
- This ensures that Windows reads the new variable PATH.
Test Claude Code
In PowerShell:
claude --help
