Skip to content

Instantly share code, notes, and snippets.

@Stanzilla
Last active February 15, 2024 02:39
Show Gist options
  • Save Stanzilla/14bb4692f380cdf91b01f34b0a75e7d5 to your computer and use it in GitHub Desktop.
Save Stanzilla/14bb4692f380cdf91b01f34b0a75e7d5 to your computer and use it in GitHub Desktop.
$apps = @(
# Google Drive
@{ id = "Google.GoogleDrive" },
# Brave
@{ id = "XP8C9QZMS2PC1T"; msstore = $true },
# Google Chrome
@{ id = "Google.Chrome" },
# DuckDuckGo
@{ id = "DuckDuckGo.DesktopBrowser" },
# Typora
@{ id = "appmakes.Typora" },
# Visual Studio Code
@{ id = "XP9KFM4BK9FZ7Q"; msstore = $true },
# Git
@{ id = "Git.Git" },
# Notion
@{ id = "Notion.Notion" },
# Grammarly
@{ id = "XPDDXX9QW8N9D7"; msstore = $true },
# Microsoft Teams
@{ id = "Microsoft.Teams" },
# Skype
@{ id = "9WZDNCRFJ364"; msstore = $true },
# Discord
@{ id = "Discord.Discord" },
# Zoom
@{ id = "XP99J3KP4XZ4W"; msstore = $true },
# Slack
@{ id = "9WZDNCRDK3WP"; msstore = $true },
# Greenshot
@{ id = "9N8Z6RQX8LV8"; msstore = $true },
# .NET 8
@{ id = "Microsoft.DotNet.SDK.8" },
# ImageGlass 9
@{ id = "9N33VZK3C7TH"; msstore = $true },
# Affinity Photo
@{ id = "9NBLGGH35LXN"; msstore = $true },
# Adobe Photoshop Elements 2020
@{ id = "9NTCH7ZCXC25"; msstore = $true }
)
foreach ($app in $apps) {
if ($app.ContainsKey('msstore')) {
$args = $app.id, "-s", "msstore"
}
else {
$args = "--id=$($app.id)", "-e"
}
winget install $args --silent --no-upgrade --accept-package-agreements --accept-source-agreements
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment