ClaudeCode-Notes
1. About
-
What is ClaudeCode?
-
Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools. Available in your terminal, IDE, desktop app, and browser.
-
Claude Code is an AI-powered coding assistant that helps you build features, fix bugs, and automate development tasks. It understands your entire codebase and can work across multiple files and tools to get things done.
3. Configuration
3.1. vLLM Provider
-
Reference this doc.
3.1.1. Create env variables:
-
Open a
PWShellwindow -
Create these env variables
Windowssetx ANTHROPIC_BASE_URL http://192.168.1.232:3013; setx ANTHROPIC_AUTH_TOKEN vLLM; setx ANTHROPIC_DEFAULT_OPUS_MODEL my-model; setx ANTHROPIC_DEFAULT_SONNET_MODEL my-model; setx ANTHROPIC_DEFAULT_HAIKU_MODEL my-model; reg delete HKCU\Environment /F /V ANTHROPIC_API_KEY; -
Close the CMD window
Don’t launch claudein this CMD window. Open a new one! -
Open a new CMD window
-
Launch claude
claude
3.2. Ollama Provider
-
Reference this doc.
3.2.1. Create env variables:
-
Open a
PowerShellwindow -
Create these env variables
Windowssetx ANTHROPIC_BASE_URL http://192.168.1.232:11434; setx ANTHROPIC_AUTH_TOKEN ollama; reg delete HKCU\Environment /F /V ANTHROPIC_API_KEY -
Close the CMD window
Don’t launch claudein this CMD window. Open a new one! -
Open a new CMD window
-
Launch claude
claude
5. Uninstall
5.1. Via NPM
-
Close any active sessions
-
Launch a CMD window
-
Run
npm uninstall -g @anthropic-ai/claude-code
5.2. Via PowerShell
-
Close any active sessions
-
Launch PowerShell window
-
Run the following:
Remove-Item -Path "$env:USERPROFILE\.local\bin\claude.exe" -ForceRemove-Item -Path "$env:USERPROFILE\.local\share\claude" -Recurse -Force -
Remove user settings and state
Remove-Item -Path "$env:USERPROFILE\.claude" -Recurse -ForceRemove-Item -Path "$env:USERPROFILE\.claude.json" -Force -
Remove project-specific settings (run from your project directory)
This is optional -
CD into the project-specific folder
-
Remove settings
Remove-Item -Path ".claude" -Recurse -ForceRemove-Item -Path ".mcp.json" -Force
-