Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Tiberriver256
Last active January 5, 2024 08:25
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Tiberriver256/80d033ab28a7aa237f513c9448b1c788 to your computer and use it in GitHub Desktop.
Save Tiberriver256/80d033ab28a7aa237f513c9448b1c788 to your computer and use it in GitHub Desktop.
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,posh-git,terminal-icons -Force
## Git
winget install -e --accept-source-agreements --silent --accept-package-agreements --id Git.Git
# Powerline Fonts
git clone https://github.com/powerline/fonts.git
cd fonts
.\install.ps1
cd ..
del .\fonts\ -Force -Recurse
winget install --accept-source-agreements --silent --accept-package-agreements -e --id JanDeDobbeleer.OhMyPosh -s winget
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Insomnia.Insomnia
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Postman.Postman
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Telerik.Fiddler.Classic
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.AzureDataStudio
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.Azure.StorageExplorer
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.AzureCLI
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.SQLServerManagementStudio
choco install -y sql-server-express
## Node, npm
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Volta.Volta
choco install -y cascadia-code-nerd-font
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
volta install node
## Editors
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.VisualStudioCode
## Visual Studio 2022
if((Get-WmiObject -Class Win32_ComputerSystem).PartOfDomain){
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.VisualStudio.2022.Professional
} else {
winget install --accept-source-agreements --silent --accept-package-agreements -e --id Microsoft.VisualStudio.2022.Community
}
# Productivity Tools
winget install --accept-source-agreements --silent --accept-package-agreements -e --id SlackTechnologies.Slack
# Git settings
git config --global --add --bool push.autoSetupRemote true
if (Test-PendingReboot) { Invoke-Reboot }
## Manual Steps
# 1. Install WAU https://github.com/Romanitho/Winget-AutoUpdate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment