Skip to content

Instantly share code, notes, and snippets.

@Tiberriver256
Last active December 12, 2022 14:19
Embed
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 2.8.5.201 -Force
Install-Module -Name Get-ChildItemColor, oh-my-posh -Force
## Git
cinst -y git.install
cinst -y poshgit
# Powerline Fonts
git clone https://github.com/powerline/fonts.git
cd fonts
.\install.ps1
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
cinst -y microsoft-windows-terminal
## Node, npm
cinst -y volta
refreshenv
volta install node
## Editors
cinst -y visualstudiocode
## Visual Studio 2022
if((Get-WmiObject -Class Win32_ComputerSystem).PartOfDomain){
cinst -y visualstudio2022professional
cinst -y microsoft-teams
} else {
cinst -y visualstudio2022community
}
# Productivity Tools
cinst -y slack
# Git settings
git config --global --add --bool push.autoSetupRemote true
if (Test-PendingReboot) { Invoke-Reboot }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment