Get your Claude Code installer up and running in 5 minutes.
Open PowerShell as Administrator in this directory and run:
.\Build-Installer.ps1The installer will be created in the .\build directory.
# Run the built EXE
.\build\ClaudeCodeInstaller.exe# Interactive mode (recommended for first test)
.\Install-ClaudeCode.ps1
# Or silent mode
.\Install-ClaudeCode.ps1 -Silent -InstallCLI -InstallExtensionRun the test suite:
.\Test-Installer.ps1- Copy
ClaudeCodeInstaller.exeto a network share - Send your team an email with the download link
- Instruct them to:
- Download the file
- Right-click → "Run as Administrator"
- Follow the prompts
See Advanced-WiX.md for MSI creation and GPO deployment.
Email the EXE directly or use your company's software distribution tool.
Install-Module -Name ps2exe -Scope CurrentUser -ForceCheck that you have:
- PowerShell 5.1 or higher:
$PSVersionTable.PSVersion - Administrator privileges
- Internet access (for downloading ps2exe)
Check the log file at %TEMP%\ClaudeCodeInstaller.log
Common causes:
- User didn't run as Administrator
- Node.js not installed (required for Claude CLI)
- Antivirus blocking execution
-
Welcome Screen:
╔════════════════════════════════════════════════════════════╗ ║ ║ ║ Claude Code Installer for Windows ║ ║ ║ ╚════════════════════════════════════════════════════════════╝ -
Menu Options:
- [1] Install Claude Code CLI
- [2] Install VSCode + Claude Code Extension
- [3] Install Both (CLI + VSCode Extension)
- [4] Exit
-
Installation Progress: Real-time feedback with color-coded messages
-
Completion Message: Instructions to restart terminal/VSCode
Before distributing to your team:
- Test on a clean Windows 11 VM
- Verify Git installation works
- Verify PATH is configured correctly
- Verify Claude CLI installs successfully
- Verify VSCode extension installs successfully
- Check installation log for errors
- Run test suite and ensure all tests pass
- Sign the EXE with your company certificate (optional but recommended)
Copy and paste this for your team:
Installing Claude Code
- Download ClaudeCodeInstaller.exe
- Right-click the file and select "Run as Administrator"
- Choose your installation option:
- Option 1: CLI only (for terminal use)
- Option 2: VSCode extension only
- Option 3: Both (recommended)
- Wait for installation to complete (5-10 minutes)
- Important: Restart your terminal and VSCode
- Test by running
claudein your terminal
Troubleshooting:
- If
claudecommand not found: Close and reopen your terminal - If installation fails: Check that you ran as Administrator
- For other issues: Contact IT support with the log file from
%TEMP%\ClaudeCodeInstaller.log
- Customize the installer with your company branding
- Add your company's certificate for code signing
- Set up automated testing in your CI/CD pipeline
- Create an internal knowledge base article
- Monitor installation success rates and common issues
For automated deployment across many machines:
# Deploy-ClaudeCode.ps1
$installerPath = "\\fileserver\software\ClaudeCodeInstaller.exe"
# Download and run silently
$localPath = "$env:TEMP\ClaudeCodeInstaller.exe"
Copy-Item $installerPath $localPath -Force
# Install both CLI and extension
& $localPath -Silent -InstallCLI -InstallExtension
# Cleanup
Remove-Item $localPath -ForceCollect logs from users:
# Collect installation logs
$logPath = "$env:TEMP\ClaudeCodeInstaller.log"
if (Test-Path $logPath) {
Copy-Item $logPath "\\support-share\logs\$env:USERNAME-$(Get-Date -Format 'yyyyMMdd-HHmmss').log"
}- Check README.md for detailed documentation
- See Advanced-WiX.md for MSI installer creation
- Review common issues in the troubleshooting section
- Test on a VM before wide deployment