Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SvenAelterman/a9b4ff14489668813f9a405bb2e28a30 to your computer and use it in GitHub Desktop.
Save SvenAelterman/a9b4ff14489668813f9a405bb2e28a30 to your computer and use it in GitHub Desktop.
Common Windows Azure installations with winget
# Common winget installations
# Windows Terminal Preview from MS Store
winget install --source msstore --id 9N8G5RFZ9XK3
winget install -e -h -s winget --id Microsoft.PowerShell
winget install -e -h -s winget --id Microsoft.Azure.StorageExplorer --disable-interactivity
winget install -e -h -s winget --id Microsoft.AzureCLI
# Then, from Terminal
az login
# In PowerShell 7 (or Windows Terminal 😉)
Install-Module Az
Connect-AzAccount
Install-Module Microsoft.Graph
winget install -e -h -s winget --id Microsoft.Bicep
az bicep install
winget install -e -h -s winget --id Microsoft.VisualStudioCode --override '/SILENT /mergetasks="!runcode,addcontextmenufiles,addcontextmenufolders"'
# Nerd font: https://nerdfonts.com
# Optional
winget install -e -h -s winget --id Git.Git
winget install -e -h -s winget --id Microsoft.AzureDataStudio
winget install -e -h -s winget --id Microsoft.SQLServerManagementStudio
winget install -e -h -s winget --id PostgreSQL.pgAdmin
winget install -e -h -s winget --id Hashicorp.Terraform
# Optional, if Docker Desktop needed
# Enable WSL2 first
# wsl --install --web-download --no-distribution -n
winget install -e -h -s winget --id Docker.DockerDesktop
# Bonus
# Enable clipboard history
# Terminal-Icons, Oh-My-Posh
winget install -e -h -s winget --id JanDeDobbeleer.OhMyPosh
### in PowerShell $PROFILE
oh-my-posh init pwsh --config "~/OneDrive/svaelter.omp.json" | Invoke-Expression
$env:POSH_AZURE_ENABLED = $true
Import-Module -Name Terminal-Icons
Import-Module Posh-Git
# Set Verbose output color to something else than the Warning color
$PSStyle.Formatting.Verbose = $PSStyle.Foreground.FromRgb(0x888888)
###
# vscode-icons icon theme
# Feedback request: GitHub repo with template for building VM image and deploy VM?
winget install -e -h -s winget --id GnuPG.GnuPG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment