# Work PC setup bootstrap (ASCII only). # Changes only: C:\setup folder, the instruction file, Claude Code install. $ErrorActionPreference = 'Stop' [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $admin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) if (-not $admin) { Write-Host 'NOT ADMIN. Open Terminal (Admin) and run again.' -ForegroundColor Red; return } New-Item -ItemType Directory -Force -Path C:\setup | Out-Null $name = -join ([char[]](0xC791,0xC5C5,0xC9C0,0xC2DC,0xC11C)) + '.md' Invoke-WebRequest -UseBasicParsing -Uri 'https://teemo-pc-setup.pages.dev/setup.md' -OutFile (Join-Path 'C:\setup' $name) Write-Host "Saved: C:\setup\$name" -ForegroundColor Green $bin = "$env:USERPROFILE\.local\bin" if (-not (Get-Command claude -ErrorAction SilentlyContinue) -and -not (Test-Path "$bin\claude.exe")) { Write-Host 'Installing Claude Code...' -ForegroundColor Cyan Invoke-RestMethod https://claude.ai/install.ps1 | Invoke-Expression } if ((Test-Path $bin) -and ($env:Path -notlike "*$bin*")) { $env:Path = "$bin;$env:Path" } Set-Location C:\setup Write-Host '' Write-Host 'READY. Now type: claude' -ForegroundColor Green