Skip to content

Instantly share code, notes, and snippets.

@TheBigBear
Created August 19, 2019 15:08
Show Gist options
  • Save TheBigBear/23329db4f20956b7e8f8d3de62f3231f to your computer and use it in GitHub Desktop.
Save TheBigBear/23329db4f20956b7e8f8d3de62f3231f to your computer and use it in GitHub Desktop.
Windoze dev setup
mkdir temp
cd temp
# Configure Windows
Set-WindowsExplorerOptions `
-EnableShowHiddenFilesFoldersDrives `
-EnableShowProtectedOSFiles `
-EnableShowFileExtensions `
-EnableShowFullPathInTitleBar
# Update-ExecutionPolicy Unrestricted
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
# Enable WSL
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
# Download Ubuntu - is this necessary?
$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile Ubuntu.appx -UseBasicParsing
# Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
# Install packages
choco install -y `
7zip.install `
atom `
awscli `
awstools.powershell `
azure-cli `
conemu `
docker-for-windows `
Firefox `
git.install `
Git-Credential-Manager-for-Windows `
github `
googlechrome `
Gow `
notepadplusplus `
pip `
python `
python2 `
ruby `
ruby.devkit `
sysinternals `
vagrant `
virtualbox `
virtualbox.extensionpack `
vlc `
vscode `
# Pinning Things
Install-ChocolateyPinnedTaskBarItem "$env:programfiles\Google\Chrome\Application\chrome.exe"
# Let's get Updates, too
Install-WindowsUpdate -acceptEula
if (Test-PendingReboot) { Invoke-Reboot }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment