Skip to content

Instantly share code, notes, and snippets.

@jrdi
Last active September 8, 2018 12:32
Show Gist options
  • Save jrdi/eb529dc8f87d686b2dc7a81549c20b57 to your computer and use it in GitHub Desktop.
Save jrdi/eb529dc8f87d686b2dc7a81549c20b57 to your computer and use it in GitHub Desktop.
# Configure Windows
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar
# Fonts
choco install inconsolata -y
# Windows Settings
Disable-BingSearch
Disable-GameBarTips
Set-TaskbarOptions -Size Small -Dock Bottom -Combine Full -Lock
Set-TaskbarOptions -Size Small -Dock Bottom -Combine Full -AlwaysShowIconsOn
Update-ExecutionPolicy Unrestricted
choco install -y Microsoft-Hyper-V-All -source windowsFeatures
choco install -y Microsoft-Windows-Subsystem-Linux -source windowsFeatures
# Packages
cinst -y Gow
# Git
choco install -y git -params '"/GitAndUnixToolsOnPath /WindowsTerminal"'
cinst Git-Credential-Manager-for-Windows
# Ubuntu
Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile ~/Ubuntu.appx -UseBasicParsing
Add-AppxPackage -Path ~/Ubuntu.appx
# Restart PowerShell / CMDer before moving on - or run
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
## Editors
cinst -y visualstudiocode
## Visual Studio 2017
cinst -y visualstudio2017community
if (Test-PendingReboot) { Invoke-Reboot }
## Python
cinst -y miniconda3 -params '"/AddToPath:1 /RegisterPython:1"'
if (Test-PendingReboot) { Invoke-Reboot }
## C++
choco install -y cmake --installargs 'ADD_CMAKE_TO_PATH=System'
choco install -y mingw
## Basics
cinst -y GoogleChrome
cinst -y 7zip.install
cinst -y sysinternals
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