Skip to content

Instantly share code, notes, and snippets.

@asears
Last active September 29, 2023 20:41
Show Gist options
  • Save asears/eea1b438ff7fa5392f04a23fd313bf7e to your computer and use it in GitHub Desktop.
Save asears/eea1b438ff7fa5392f04a23fd313bf7e to your computer and use it in GitHub Desktop.
winget desired state config
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
# winget configure -f <C:/Users/<username>/winget-configs/config-file-name.dsc.yaml>
properties:
# assertions:
# - resource: Microsoft.Windows.Developer/OsVersion
# directives:
# description: Verify min OS version requirement
# allowPrerelease: true
# settings:
# MinVersion: '10.0.22000'
resources:
# - resource: Microsoft.Windows.Developer/DeveloperMode
# directives:
# description: Enable Developer Mode
# allowPrerelease: true
# settings:
# Ensure: Present
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: GitHub.GitHubDesktop
directives:
description: Install GitHub.GitHubDesktop
allowPrerelease: false
settings:
id: GitHub.GitHubDesktop
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: GitHub.cli
directives:
description: Install GitHub.cli
allowPrerelease: false
settings:
id: GitHub.cli
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.Git
directives:
description: Install Microsoft.Git
allowPrerelease: false
settings:
id: Microsoft.Git
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.PowerToys
directives:
description: Install Microsoft.PowerToys
allowPrerelease: false
settings:
id: Microsoft.PowerToys
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: NotepadPlus
directives:
description: Install Notepad++.Notepad++
allowPrerelease: false
settings:
id: Notepad++.Notepad++
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.XMLNotepad
directives:
description: Install Microsoft.XMLNotepad
allowPrerelease: false
settings:
id: Microsoft.XMLNotepad
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.PowerBI
directives:
description: Install Microsoft.PowerBI
allowPrerelease: false
settings:
id: Microsoft.PowerBI
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.PowerBIReportBuilder
directives:
description: Install Microsoft.PowerBIReportBuilder
allowPrerelease: false
settings:
id: Microsoft.PowerBIReportBuilder
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.BotFrameworkEmulator
directives:
description: Microsoft.BotFrameworkEmulator
allowPrerelease: false
settings:
id: Microsoft.BotFrameworkEmulator
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.BotFrameworkComposer
directives:
description: Microsoft.BotFrameworkComposer
allowPrerelease: false
settings:
id: Microsoft.BotFrameworkComposer
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.Bicep
directives:
description: Microsoft.Bicep
allowPrerelease: false
settings:
id: Microsoft.Bicep
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.AzureDataStudio.Insiders
directives:
description: Microsoft.AzureDataStudio.Insiders
allowPrerelease: false
settings:
id: Microsoft.AzureDataStudio.Insiders
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.AzureDataStudio
directives:
description: Microsoft.AzureDataStudio
allowPrerelease: false
settings:
id: Microsoft.AzureDataStudio
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.AzureCLI
directives:
description: Microsoft.AzureCLI
allowPrerelease: false
settings:
id: Microsoft.AzureCLI
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.Azure.StorageExplorer
directives:
description: Microsoft.Azure.StorageExplorer
allowPrerelease: false
settings:
id: Microsoft.Azure.StorageExplorer
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.Azure.IoTExplorer
directives:
description: Microsoft.Azure.IoTExplorer
allowPrerelease: false
settings:
id: Microsoft.Azure.IoTExplorer
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.Azure.DataCLI
directives:
description: Microsoft.Azure.DataCLI
allowPrerelease: false
settings:
id: Microsoft.Azure.DataCLI
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.Azure.FunctionsCoreTools
directives:
description: Microsoft.Azure.FunctionsCoreTools
allowPrerelease: false
settings:
id: Microsoft.Azure.FunctionsCoreTools
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.Azure.CosmosEmulator
directives:
description: Microsoft.Azure.CosmosEmulator
allowPrerelease: false
settings:
id: Microsoft.Azure.CosmosEmulator
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.Azure.AZCopy.10
directives:
description: Microsoft.Azure.AZCopy.10
allowPrerelease: false
settings:
id: Microsoft.Azure.AZCopy.10
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.Azd
directives:
description: Microsoft.Azd
allowPrerelease: false
settings:
id: Microsoft.Azd
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: jqlang.jq
directives:
description: jqlang.jq
allowPrerelease: false
settings:
id: jqlang.jq
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: MikeFarah.yq
directives:
description: MikeFarah.yq
allowPrerelease: false
settings:
id: MikeFarah.yq
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Google.Chrome
directives:
description: Google.Chrome
allowPrerelease: false
settings:
id: Google.Chrome
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Python
directives:
description: Python.Python.3.11
allowPrerelease: false
settings:
id: Python.Python.3.11
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.Powershell
directives:
description: Microsoft.Powershell
allowPrerelease: false
settings:
id: Microsoft.Powershell
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: WinSCP.WinSCP
directives:
description: WinSCP.WinSCP
allowPrerelease: false
settings:
id: WinSCP.WinSCP
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Anaconda.Miniconda3
directives:
description: Anaconda.Miniconda3
allowPrerelease: false
settings:
id: Anaconda.Miniconda3
source: winget
# Hangs, licensing?
# - resource: Microsoft.WinGet.DSC/WinGetPackage
# id: Anaconda.Anaconda3
# directives:
# description: Anaconda.Anaconda3
# allowPrerelease: false
# settings:
# id: Anaconda.Anaconda3
# source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: vsCode
directives:
description: Microsoft.VisualStudioCode
allowPrerelease: false
settings:
id: Microsoft.VisualStudioCode
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: putty
directives:
description: PuTTY.PuTTY
allowPrerelease: false
settings:
id: PuTTY.PuTTY
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: winmerge
directives:
description: WinMerge.WinMerge
allowPrerelease: false
settings:
id: WinMerge.WinMerge
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: Microsoft.SQLServerManagementStudio
directives:
description: Microsoft.SQLServerManagementStudio
allowPrerelease: false
settings:
id: Microsoft.SQLServerManagementStudio
source: winget
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: mRemoteNG.mRemoteNG
directives:
description: mRemoteNG.mRemoteNG
allowPrerelease: false
settings:
id: mRemoteNG.mRemoteNG
source: winget
# - resource: Microsoft.WinGet.DSC/WinGetPackage
# id: vsPackage
# directives:
# description: cURL.cURL
# allowPrerelease: false
# settings:
# id: cURL.cURL
# source: winget
# - resource: Microsoft.WinGet.DSC/WinGetPackage
# id: vsPackage
# directives:
# description: GNU.Wget2
# allowPrerelease: false
# settings:
# id: GNU.Wget2
# source: winget
# - resource: Microsoft.WinGet.DSC/WinGetPackage
# id: vsPackage
# directives:
# description: Graphviz.Graphviz
# allowPrerelease: false
# settings:
# id: Graphviz.Graphviz
# source: winget
# WinDirStat WinDirStat.WinDirStat 1.1.2 ProductCode: windirstat winget
# Graphviz Graphviz.Graphviz 8.1.0 winget
# IrfanView64 9PJZ3BTL5PV6 Unknown msstore
# IrfanView IrfanSkiljan.IrfanView 4.62 winget
# Fiddler Everywhere Insiders Telerik.Fiddler.Everywhere.Insiders 4.6.2-insiders winget
# Fiddler Everywhere Telerik.Fiddler.Everywhere 4.6.2 winget
# Progress Telerik Fiddler Classic Telerik.Fiddler.Classic 5.0.20211.51073 winget
# KeePass DominikReichl.KeePass 2.54.0 winget
# Java/Eclipse
# Eclipse Temurin JRE with Hotspot 20 EclipseAdoptium.Temurin.20.JRE 20.0.1.9 winget
# Eclipse Temurin JDK with Hotspot 20 EclipseAdoptium.Temurin.20.JDK 20.0.2.9 winget
# Sysinternals Suite 9P7KNL5RWT25 Unknown msstore
# ZoomIt Microsoft.Sysinternals.ZoomIt 7.1 Tag: sysinternals winget
# TCPView Microsoft.Sysinternals.TCPView 4.19 Tag: sysinternals winget
# Strings Microsoft.Sysinternals.Strings 2.54 Tag: sysinternals winget
# Process Monitor Microsoft.Sysinternals.ProcessMonitor 3.95 Tag: sysinternals winget
# Process Explorer Microsoft.Sysinternals.ProcessExplorer 17.05 Tag: sysinternals winget
# Desktops Microsoft.Sysinternals.Desktops 2.01 Tag: sysinternals winget
# BGInfo Microsoft.Sysinternals.BGInfo 4.32 Tag: sysinternals winget
# Autoruns Microsoft.Sysinternals.Autoruns 14.10 Tag: Sysinternals winget
# Remote Desktop Connection Manager Microsoft.Sysinternals.RDCMan 2.93 winget
# DBeaver dbeaver.dbeaver 23.2.1 Tag: po… winget
# Github Actions
# act nektos.act 0.2.51 Tag: github winget
# Git LFS GitHub.GitLFS 3.4.0 Tag: github winget
# Need for GPU Training
# NVIDIA CUDA Toolkit Nvidia.CUDA 12.1 Tag: dat… winget
# MongoDB Atlas CLI MongoDB.MongoDBAtlasCLI 1.5.1 Tag: dat… winget
# DuckDB CLI DuckDB.cli 0.9.0 Tag: dat… winget
# MobaXterm Mobatek.MobaXterm 23.2.0.5082 Tag: sftp winget
# Terminals Terminals.Terminals 4.0.1.0 Tag: rdp winget
# GnuWin32: Grep GnuWin32.Grep 2.5.4 Tag: grep winge
# Microsoft Edge Dev Microsoft.Edge.Dev 119.0.2116.0 Moniker: msedge-dev winget
# Microsoft Edge Beta Microsoft.Edge.Beta 118.0.2088.17 Moniker: msedge-beta winget
# Microsoft Edge Microsoft.Edge 117.0.2045.43 Command: msedge winget
# pgAdmin 4 PostgreSQL.pgAdmin 7.7 Tag: sql winget
# Microsoft SQL Server Management Studio Microsoft.SQLServerManagementStudio 19.1 Tag: sql winget
# Microsoft SQL Server 2022 Express Microsoft.SQLServer.2022.Express 16.0.1000.6 Tag: sql winget
# Microsoft SQL Server 2022 Developer Microsoft.SQLServer.2022.Developer 16.0.1000.6 Tag: sql winget
# Microsoft SQL Server 2017 Express Microsoft.SQLServer.2017.Express 14.0.1000.169 Tag: sql winget
# Microsoft SQL Server 2017 Developer Microsoft.SQLServer.2017.Developer 14.0.1000.169 Tag: sql winget
# LINQPad 7 LINQPad.LINQPad.7 7.7.15 Tag: sql winget
# Postman Postman.Postman 10.18.7 ProductCode: postman winget
# Postman Agent Postman.Postman.DesktopAgent 0.4.15 winget
# Podman RedHat.Podman 4.7.0 Tag: docker winget
# Docker Desktop Edge Docker.DockerDesktopEdge 2.5.4.50534 winget
# Docker CLI Docker.DockerCLI 24.0.5 winget
# Docker Desktop Docker.DockerDesktop 4.24.0 Moniker: docker winget
# MTPuTTY TTYPlus.MTPutty 1.8 Tag: putty winget
# golangci-lint GolangCI.golangci-lint 1.53.2 winget
# Helm Helm.Helm 3.12.1 winget
# Kubernetes.minikube
# kompose Kubernetes.kompose 1.30.0 Tag: docker winget
# Rustup: the Rust toolchain installer Rustlang.Rustup 1.26.0 Tag: rust winget
# Rust (MSVC) Rustlang.Rust.MSVC 1.72.1 Tag: rust winget
# Rust (GNU) Rustlang.Rust.GNU 1.72.1 Tag: rust winget
# Microsoft Azure Quick Review Microsoft.Azure.QuickReview 0.21.2 winget
# Microsoft Azure Kubelogin Microsoft.Azure.Kubelogin 0.0.32 winget
# TFLint TerraformLinters.tflint 0.46.1 winget
# Azure Terrafy Microsoft.Azure.Aztfy 0.10.0 winget
# Microsoft Azure Export for Terraform Microsoft.Azure.AztfExport 0.13.1 winget
# PL/SQL Developer AllroundAutomations.PLSQLDeveloper 15.0.3 winget
# WSL / Linux
# GnuWin32: Zip GnuWin32.Zip 3.0 winget
# Which for Windows GnuWin32.Which 2.20 winget
# GnuWin32: UnZip GnuWin32.UnZip 5.51-1 winget
# GnuWin32: Tree GnuWin32.Tree 1.5.2.2 winget
# Tar GnuWin32.Tar 1.13-1 winget
# GnuWin32: Make GnuWin32.Make 3.81 winget
# GnuWin32: Grep GnuWin32.Grep 2.5.4 winget
# GnuWin32: GetText GnuWin32.GetText 0.14.4 winget
# GnuWin32: FindUtils GnuWin32.FindUtils 4.2.20-2 winget
# Gpg4win GnuPG.Gpg4win 4.2.0 winget
# GNU datamash GNU.datamash 1.3 winget
# Wget2 GNU.Wget2 2.0.1 winget
# Amazon AWS
# OpenSearch SQL ODBC Driver Amazon.OpenSearch.ODBC 1.1.0.1 winget
# NoSQL Workbench Amazon.NoSQLWorkbench 3.2.0 winget
# AWS Copilot CLI Amazon.CopilotCLI 1.28.0 winget
# AWS VPN Client Amazon.AWSVPNClient 3.10.0 winget
# AWS Command Line Interface Amazon.AWSCLI 2.13.22 winget
# GCP
# Google Cloud SDK Google.CloudSDK 431.0.0 Tag: google winget
# Google Earth Pro Google.EarthPro 7.3.6.9345 winget
# Mozilla Firefox 9NZVDKPMR9RD Unknown msstore
# Mozilla Firefox Mozilla.Firefox 118.0 Moniker: firefox winget
# Mozilla Firefox ESR Mozilla.Firefox.ESR 102.15.0 Command: firefox winget
# Mozilla Firefox (Beta) Mozilla.Firefox.Beta 109.0 Command: firefox winget
# Firefox Nightly Mozilla.Firefox.Nightly 116.0a1 Tag: firefox winget
# Firefox Developer Edition Mozilla.Firefox.DeveloperEdition 118.0b9 Tag: firefox winget
# Winget upgraded separately
# Visual Studio Enterprise 2022 latest setup separately
# Need to specify the version and vsconfig for each dev group separately
# eg. Pro, Ent, version(s) of vs
# - resource: Microsoft.WinGet.DSC/WinGetPackage
# id: vsPackage
# directives:
# description: Install Visual Studio 2022 Community
# allowPrerelease: true
# settings:
# id: Microsoft.VisualStudio.2022.Community
# source: winget
# - resource: Microsoft.VisualStudio.DSC/VSComponents
# dependsOn:
# - vsPackage
# directives:
# description: Install required VS workloads from vsconfig file
# allowPrerelease: true
# settings:
# productId: Microsoft.VisualStudio.Product.Community
# channelId: VisualStudio.17.Release
# vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig'
# includeRecommended: true
configurationVersion: 0.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment