A working Claude Code installation with your own project folder and a personal CLAUDE.md file — ready for your first real conversation with your AI companion.
The terminal is where you type commands. Claude Code runs here.
Win + R to open the Run dialogcmd and press EnterCmd + Space to open SpotlightTerminal and press EnterFirst, install Git for Windows — Claude Code requires it. Download, run the installer, and accept the default settings.
Then, in the Command Prompt, paste this command and press Enter:
curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
In the Terminal, paste this command and press Enter:
curl -fsSL https://claude.ai/install.sh | bash
You should see output similar to:
√ Claude Code successfully installed!
After installation, your system needs to know where to find Claude Code. This is called setting the PATH.
1. The installer may show a message like:
C:\Users\YourName\.local\bin is not in your PATH
2. Open System Properties:
Win + R, type sysdm.cpl, press Enter3. Under User variables, find Path and click Edit
4. Click New and add:
C:\Users\YourName\.local\bin
(Replace YourName with your actual Windows username)
5. Click OK on all dialogs
6. Close and reopen your Command Prompt for the change to take effect
The installer usually sets the PATH automatically. If the claude command is not found after installation, run:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc
Note: Modern Macs use
zshas the default shell. If you have an older setup usingbash, replace~/.zshrcwith~/.bashrcin the command above.
Open a new terminal window and type:
claude --version
You should see a version number (e.g., 2.1.37). If you see "command not found", revisit the PATH steps above.
This is where Claude Code will work — your personal system lives here.
mkdir %USERPROFILE%\claude
mkdir ~/claude
Navigate into the folder:
cd %USERPROFILE%\claude
cd ~/claude
CLAUDE.md is the file that tells Claude Code who you are and how you work. It's the foundation of your personal system.
Create the file in your project folder. You can use any text editor — even Notepad or TextEdit.
notepad CLAUDE.md
nano CLAUDE.md, Finder → Open CLAUDE.md
Paste this starter template. Replace every [name] with your actual first name (e.g., Sarah):
# [name]'s Global Claude Code Preferences
## How [name] and Claude Work Together
### Writing Convention for CLAUDE.md Files:
- Always use "[name]" (or "the human") and "Claude" instead of pronouns
- Never use "it", "you", "me", "my", "your" in CLAUDE.md files
- This avoids ambiguity about who "it" or "you" refers to
- Example: "[name] writes, Claude edits" (not "I write, you edit")
### Planning Protocol
- Always plan before implementation
- Discuss overall strategy before writing code or making changes
- Ask clarifying questions one at a time so [name] can give complete answers
- Get approval on the approach before implementation
- Focus on understanding requirements and flow first
- **Multi-level planning**
- Plan at the high level (overall project goals and flow)
- Then plan at the task level (specific file or feature details)
- Implement the plan only after both levels are planned and approved
- **Check understanding**
- After completing each task, ask if [name] has questions about what was just done
- Important that [name] understands all the changes made together
### When Claude Gives [name] Feedback
- **Direct and specific**
- Give clear, direct feedback and critiques
- No need for gentle suggestions or hedging
- Specific examples better than vague advice
- Example: "Cut the Kizik story" vs "make it shorter"
- **Format preferences**
- Use bullet-points for feedback and summaries
Save the file:
Ctrl + S, then close NotepadCtrl + O to save, then Ctrl + X to exitMake sure you are in your project folder (from Step 4), then start Claude Code:
claude
On your first launch, Claude Code will ask you to log in:
Claude Code will ask you to trust the current folder. Confirm — this is your working environment.
Type your first message:
What do you know about me?
Claude Code should read your CLAUDE.md and respond with the information you entered. If it does — you're set up.
Claude Code is a terminal — you type commands and messages. Wispr Flow lets you dictate instead of type. It works system-wide and transcribes your voice directly into any text field, including the terminal. Super helpful.
This is especially useful for longer prompts and conversations — talk to Claude Code like you'd talk to a colleague. When you use the provided affiliate link, we both get a month of free usage. For occasional use, the free version is sufficient.
CLAUDE.md and other files in your system are written in Markdown. A good editor makes working with them much easier.
Recommended options:
| Editor | Platform | Why |
|---|---|---|
| Visual Studio Code | Windows, Mac | Free, Markdown preview, Claude Code extension available |
| Antigravity | Windows, Mac | Lightweight editor designed for Claude Code |
| Cursor | Windows, Mac | AI-native code editor, built on VS Code |
| One Markdown | Mac | Clean, native Markdown editor with live preview and PDF export |
| Markdown Monster | Windows | Full-featured Markdown editor with live preview |
Any editor that can open .md files will work. You don't need a special tool.
GitHub gives you version control and portability — a history of every change you make to your system.
.env file for sensitive data (API keys, passwords) and a .gitignore to keep it out of GitHub:echo. > .env
echo .env > .gitignore
touch .env
echo ".env" > .gitignore
4. Initialize and push:
git init
git add .
git commit -m "Initial setup"
git remote add origin https://github.com/YourUsername/YourRepo.git
git push -u origin main
(Replace YourUsername and YourRepo with your actual GitHub username and repository name.)
Optional: Install GitHub Desktop for a visual interface instead of terminal Git commands.
We will cover this together in your first session if you're interested.
If you use Obsidian for notes or personal knowledge management, you can connect your vault to Claude Code. This gives Claude access to your existing notes, ideas, and references.
In your CLAUDE.md, add the path to your Obsidian vault:
## Obsidian Vault
My notes are located at: [path to your vault]
Claude Code can then read and reference your notes during conversations — connecting your personal knowledge with your AI companion.
Your Claude Code setup is complete. Here's what comes next:
Welcome to Mikata.
Alex Hardt · alex@alexhardt23.com · LinkedIn