Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felixrieseberg/1bfaca1acb91f93940fcff58cb62962d to your computer and use it in GitHub Desktop.
Save felixrieseberg/1bfaca1acb91f93940fcff58cb62962d to your computer and use it in GitHub Desktop.
Windows VM Setup
# Configure Windows
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Update-ExecutionPolicy Unrestricted
## Git
cinst -y git.install
cinst -y poshgit
# Restart PowerShell / CMDer before moving on - or run
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
cinst Git-Credential-Manager-for-Windows
cinst github
## Node, npm
cinst -y nodejs.install
npm install -g npm-windows-upgrade
## Editors
cinst -y visualstudiocode
## Ruby, Go, Python
cinst -y ruby
cinst -y ruby.devkit
cinst -y python2
if (Test-PendingReboot) { Invoke-Reboot }
## Basics
cinst -y 7zip.install
cinst -y sysinternals
cinst -y DotNet3.5
# cinst -y DotNet4.0 -- not needed on windows 8
# cinst -y DotNet4.5 -- not needed on windows 10
# cinst -y PowerShell -- not needed on windows 10
if (Test-PendingReboot) { Invoke-Reboot }
# Pinning Things
Install-ChocolateyPinnedTaskBarItem "$env:programfiles\Google\Chrome\Application\chrome.exe"
# Let's get Updates, too
Install-WindowsUpdate -acceptEula
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment