Skip to content

Instantly share code, notes, and snippets.

Last active Oct 14, 2021
What would you like to do?
My personal development environment configuration
# Configure Windows
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Update-ExecutionPolicy Unrestricted
Install-PackageProvider -Name NuGet -MinimumVersion -Force
Install-Module -Name Get-ChildItemColor, oh-my-posh -Force
## Git
cinst -y git.install
cinst -y poshgit
# Powerline Fonts
git clone
cd fonts
cd ..
del .\fonts\ -Force -Recurse
# Restart PowerShell / CMDer before moving on - or run
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
cinst -y Git-Credential-Manager-for-Windows
cinst -y winmerge
cinst -y insomnia-rest-api-client
cinst -y fiddler
## Node, npm
choco install nvm.portable
## Fix for elevate.vbs tripping Anti-Virus
echo @"
@echo off
set CMD=%*
set APP=%1
start %*
"@ | Out-File C:\programdata\nvm\elevate.cmd -Encoding UTF8
nvm install latest
nvm install 10.13
nvm install 8
nvm use latest
## Editors
cinst -y visualstudiocode
## Visual Studio 2017
if((Get-WmiObject -Class Win32_ComputerSystem).PartOfDomain){
cinst -y visualstudio2019professional
cinst -y microsoft-teams
} else {
cinst -y visualstudio2019community
# Productivity Tools
cinst -y slack
if (Test-PendingReboot) { Invoke-Reboot }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment