Installation guide
Installation guide
Section titled “Installation guide”Prerequisites
Section titled “Prerequisites”Before installing scaffolder, ensure you have the following:
- Windows 11 with WSL2 — scaffolder runs inside WSL2
- VS Code with the
codecommand available in PATH - Node.js (LTS recommended) — check with
node --version - Git — check with
git --version - GitHub CLI (
gh) — check withgh --version - GitHub CLI authenticated — run
gh auth loginif not yet configured - Claude Code — for AI-assisted development sessions
Install WSL2 (if not already installed)
Section titled “Install WSL2 (if not already installed)”wsl --installRestart your machine after installation.
Install Node.js
Section titled “Install Node.js”curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -sudo apt-get install -y nodejsVerify:
node --versionnpm --versionInstall Git
Section titled “Install Git”sudo apt-get install -y gitgit config --global user.name "Your Name"git config --global user.email "your@email.com"Install GitHub CLI
Section titled “Install GitHub CLI”sudo apt-get install -y ghgh auth loginInstall scaffolder
Section titled “Install scaffolder”gh repo clone purlshq/scaffoldercd scaffoldernpm installnpm run buildnpm linkAfter npm link, the following commands are available globally:
sc— all scaffolder commands (create, init, start, end, status, config, etc.)create— create a new project (also available assc create)update— update a project to latest scaffolder versionupdate-scaffolder— update scaffolder itself
Initial setup (required)
Section titled “Initial setup (required)”After npm link, run sc init before using any other command:
sc initThis is required before first use and walks you through configuring:
- Your name
- Operator alias — max 5 chars, used in session log filenames
- Operator description — your role, used in templates
- GitHub username
- Default drive path (e.g. /mnt/d/Claude/projects)
- Windows username (for file copy paths)
- Environment — wsl2 / macos / linux
- Mode — personal (full control) or team (locked AI names)
- Chat AI name — default: Chat (personal mode only)
- Code AI name — default: Code (personal mode only)
- Command prefix — default:
sc - Time tracking — enabled by default
If you skip this step, sc init will run automatically the first time you use any sc command.
Create your first project
Section titled “Create your first project”sc create "my-project"This creates a fully scaffolded project with docs, git, GitHub repo, and opens VS Code automatically.