Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Windows Dev Bootstrap

Bootstrap a fresh Windows 11 machine with PowerShell, winget, Node via nvm, and a PowerShell profile tuned for development.

Fresh Machine Bootstrap

Use built-in PowerShell to download and run the bootstrap script directly from GitHub. This avoids needing Git or GitHub CLI before the machine is set up.

Set-ExecutionPolicy -Scope Process Bypass -Force
$bootstrapPath = Join-Path $env:TEMP 'setup-bootstrap.ps1'
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/bbobrian/setup/main/bootstrap.ps1' -OutFile $bootstrapPath
& $bootstrapPath

To skip the recommended developer tools and install only the required package set:

Set-ExecutionPolicy -Scope Process Bypass -Force
$bootstrapPath = Join-Path $env:TEMP 'setup-bootstrap.ps1'
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/bbobrian/setup/main/bootstrap.ps1' -OutFile $bootstrapPath
& $bootstrapPath -SkipRecommendedPackages

What Gets Run

  • bootstrap.ps1 downloads setup.ps1 and setup-profile.ps1 from this repository into a temporary folder and launches setup.ps1.
  • setup.ps1 installs the required winget packages, installs the recommended developer tools unless skipped, installs the latest Node.js with nvm, installs Claude Code unless skipped, and then runs setup-profile.ps1.
  • setup-profile.ps1 installs PowerShell modules and writes a persistent profile with development-oriented aliases and helper functions.

Local Usage

If you already have the repo locally:

.\setup.ps1

To skip the recommended developer packages:

.\setup.ps1 -SkipRecommendedPackages

Optional Flags

  • -SkipRecommendedPackages skips the recommended developer tool set.
  • -SkipClaudeCode skips the Claude Code install step.
  • -SkipProfileBootstrap skips the PowerShell profile bootstrap step.

Notes

  • The GitHub raw URLs assume the repository is public and the default branch is main.
  • Some installers may still prompt for elevation depending on package requirements and local machine policy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages