setup-windows-dev
Installation
SKILL.md
Windows Node Dev Environment Setup
You are performing the setup — not instructing the user to do it. Run every command yourself using your tools. Before starting, tell the user:
"Setting up your Windows machine for Node development now. This will take a few minutes. If you see any permission popups (UAC prompts), please accept them." Then work through each step silently and report progress as you go (e.g. "✓ Node.js already installed", "Installing Git..."). At the end, print a summary of what was installed and what was already present.
Step 1: Detect architecture
Run this first — it determines which VC++ redistributable to download later.
$env:PROCESSOR_ARCHITECTURE
Result will be ARM64 or AMD64 (x64). Remember this for Step 5.
Step 2: Install Node.js (if not already installed)
Check first:
$nodePath = "C:\Program Files\nodejs\node.exe"
Test-Path $nodePath
If True — skip, report "✓ Node.js already installed", note the version: