Skip to content

Instantly share code, notes, and snippets.

@VenomAV
Last active March 6, 2020 08:00
Show Gist options
  • Save VenomAV/1c47b1227e7e8b881d90281ed9606aa1 to your computer and use it in GitHub Desktop.
Save VenomAV/1c47b1227e7e8b881d90281ed9606aa1 to your computer and use it in GitHub Desktop.
Minimum installation required to bootstrap a new Windows machine from scratch
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
$env:ChocolateyInstall = Convert-Path "$((Get-Command choco).Path)\..\.."
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
choco install git -y
choco install keybase -y
refreshenv
@VenomAV
Copy link
Author

VenomAV commented Mar 6, 2020

Remember to execute Set-ExecutionPolicy Bypass -Scope Process -Force first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment