Skip to content

Instantly share code, notes, and snippets.

@reggi
Last active March 25, 2026 07:04
Show Gist options
  • Select an option

  • Save reggi/28734fe20472893d64b225628c736e96 to your computer and use it in GitHub Desktop.

Select an option

Save reggi/28734fe20472893d64b225628c736e96 to your computer and use it in GitHub Desktop.
bin for windows machines
#Requires -Version 5.1
# =============================================================================
# Winget App Installation Script
# Generated: 2026-03-25
# Source machine: Alienware Aurora ACT1250
# Description: Installs applications detected on this machine via winget.
# Usage: Run as Administrator in PowerShell
# .\install-apps.ps1
# =============================================================================
# Ensure winget is available
if (-not (Get-Command winget -ErrorAction SilentlyContinue)) {
Write-Error "winget is not installed. Install it from the Microsoft Store (App Installer)."
exit 1
}
Write-Host "========================================" -ForegroundColor Cyan
Write-Host " Winget App Installation Script" -ForegroundColor Cyan
Write-Host "========================================" -ForegroundColor Cyan
Write-Host ""
function Install-WingetApp {
param(
[string]$Id,
[string]$Name
)
Write-Host "Installing: $Name ($Id)..." -ForegroundColor Yellow
winget install --id $Id --exact --accept-package-agreements --accept-source-agreements --silent
if ($LASTEXITCODE -eq 0) {
Write-Host " -> Installed successfully." -ForegroundColor Green
} else {
Write-Host " -> Failed or already installed (exit code: $LASTEXITCODE)." -ForegroundColor Red
}
Write-Host ""
}
# =====================
# Development Tools
# =====================
Write-Host "--- Development Tools ---" -ForegroundColor Magenta
Install-WingetApp -Id "Google.AndroidStudio" -Name "Android Studio"
Install-WingetApp -Id "ArduinoSA.IDE.stable" -Name "Arduino IDE"
Install-WingetApp -Id "Git.Git" -Name "Git"
Install-WingetApp -Id "GitHub.cli" -Name "GitHub CLI"
Install-WingetApp -Id "Microsoft.VisualStudioCode" -Name "Visual Studio Code"
Install-WingetApp -Id "Gyan.FFmpeg" -Name "FFmpeg"
Install-WingetApp -Id "Microsoft.WSL" -Name "Windows Subsystem for Linux"
Install-WingetApp -Id "PythonSoftwareFoundation.Python.3.13" -Name "Python 3.13"
# =====================
# Design / CAD / 3D
# =====================
Write-Host "--- Design / CAD / 3D ---" -ForegroundColor Magenta
Install-WingetApp -Id "Bambulab.Bambustudio" -Name "Bambu Studio"
Install-WingetApp -Id "FreeCAD.FreeCAD" -Name "FreeCAD"
Install-WingetApp -Id "KiCad.KiCad" -Name "KiCad"
Install-WingetApp -Id "Inkscape.Inkscape" -Name "Inkscape"
Install-WingetApp -Id "OpenSCAD.OpenSCAD" -Name "OpenSCAD"
# =====================
# Browsers
# =====================
Write-Host "--- Browsers ---" -ForegroundColor Magenta
Install-WingetApp -Id "Google.Chrome.EXE" -Name "Google Chrome"
Install-WingetApp -Id "Microsoft.Edge" -Name "Microsoft Edge"
# =====================
# Communication
# =====================
Write-Host "--- Communication ---" -ForegroundColor Magenta
Install-WingetApp -Id "Discord.Discord" -Name "Discord"
Install-WingetApp -Id "OpenWhisperSystems.Signal" -Name "Signal"
Install-WingetApp -Id "Microsoft.Teams" -Name "Microsoft Teams"
Install-WingetApp -Id "Zoom.Zoom.EXE" -Name "Zoom Workplace"
# =====================
# Productivity
# =====================
Write-Host "--- Productivity ---" -ForegroundColor Magenta
Install-WingetApp -Id "Microsoft.Office" -Name "Microsoft 365"
Install-WingetApp -Id "Microsoft.OneDrive" -Name "Microsoft OneDrive"
Install-WingetApp -Id "Microsoft.PowerToys" -Name "PowerToys"
Install-WingetApp -Id "Microsoft.WindowsTerminal" -Name "Windows Terminal"
# =====================
# Gaming
# =====================
Write-Host "--- Gaming ---" -ForegroundColor Magenta
Install-WingetApp -Id "Valve.Steam" -Name "Steam"
Install-WingetApp -Id "CloudImperiumGames.RSILauncher" -Name "RSI Launcher (Star Citizen)"
# =====================
# Printer / Scanner (Epson)
# =====================
Write-Host "--- Printer / Scanner (Epson) ---" -ForegroundColor Magenta
Write-Host " Epson ET-4800 driver - download from https://epson.com/Support/Printers/All-In-Ones/ET-Series/Epson-ET-4800/s/SPT_C11CJ21101" -ForegroundColor DarkGray
Write-Host ""
# =====================
# Runtimes & Redistributables
# =====================
Write-Host "--- Runtimes & Redistributables ---" -ForegroundColor Magenta
Install-WingetApp -Id "Microsoft.DotNet.DesktopRuntime.6" -Name ".NET Desktop Runtime 6"
Install-WingetApp -Id "Microsoft.DotNet.DesktopRuntime.8" -Name ".NET Desktop Runtime 8"
Install-WingetApp -Id "Microsoft.VCRedist.2008.x86" -Name "VC++ 2008 Redist (x86)"
Install-WingetApp -Id "Microsoft.VCRedist.2008.x64" -Name "VC++ 2008 Redist (x64)"
Install-WingetApp -Id "Microsoft.VCRedist.2012.x86" -Name "VC++ 2012 Redist (x86)"
Install-WingetApp -Id "Microsoft.VCRedist.2012.x64" -Name "VC++ 2012 Redist (x64)"
Install-WingetApp -Id "Microsoft.VCRedist.2013.x86" -Name "VC++ 2013 Redist (x86)"
Install-WingetApp -Id "Microsoft.VCRedist.2013.x64" -Name "VC++ 2013 Redist (x64)"
Install-WingetApp -Id "Microsoft.VCRedist.2015+.x86" -Name "VC++ 2015-2022 Redist (x86)"
Install-WingetApp -Id "Microsoft.VCRedist.2015+.x64" -Name "VC++ 2015-2022 Redist (x64)"
Install-WingetApp -Id "Nvidia.PhysX" -Name "NVIDIA PhysX"
# =====================
# GPU / Drivers
# =====================
Write-Host "--- GPU ---" -ForegroundColor Magenta
Write-Host " Note: NVIDIA drivers should be installed via NVIDIA App or GeForce Experience." -ForegroundColor DarkGray
Write-Host " Download from: https://www.nvidia.com/Download/index.aspx" -ForegroundColor DarkGray
Write-Host ""
# =====================
# Manual Install Required
# =====================
Write-Host "--- Manual Install Required ---" -ForegroundColor Magenta
Write-Host " Autodesk Fusion - https://www.autodesk.com/products/fusion-360" -ForegroundColor DarkGray
Write-Host " Vintage Story - https://www.vintagestory.at" -ForegroundColor DarkGray
Write-Host ""
# =====================
# Mac Shortcuts for Windows
# =====================
Write-Host "--- Mac Shortcuts for Windows ---" -ForegroundColor Magenta
$repoPath = "$env:LOCALAPPDATA\mac-shortcuts-for-windows"
if (Test-Path $repoPath) {
Write-Host " Already cloned at $repoPath. Pulling latest..." -ForegroundColor DarkGray
git -C $repoPath pull
} else {
Write-Host " Cloning reggi/mac-shortcuts-for-windows..." -ForegroundColor Yellow
git clone https://github.com/reggi/mac-shortcuts-for-windows.git $repoPath
}
$batFile = Join-Path $repoPath "Start-MacKeys.bat"
if (Test-Path $batFile) {
# Add to Windows startup folder
$startupFolder = [System.IO.Path]::Combine($env:APPDATA, "Microsoft\Windows\Start Menu\Programs\Startup")
$shortcutPath = Join-Path $startupFolder "Start-MacKeys.lnk"
if (-not (Test-Path $shortcutPath)) {
$shell = New-Object -ComObject WScript.Shell
$shortcut = $shell.CreateShortcut($shortcutPath)
$shortcut.TargetPath = $batFile
$shortcut.WorkingDirectory = $repoPath
$shortcut.Save()
Write-Host " -> Added to startup folder." -ForegroundColor Green
} else {
Write-Host " -> Startup shortcut already exists." -ForegroundColor DarkGray
}
# Launch now
Write-Host " Launching Start-MacKeys.bat..." -ForegroundColor Yellow
Start-Process -FilePath $batFile -WorkingDirectory $repoPath
Write-Host " -> Running. Look for the ⌘ icon in your system tray." -ForegroundColor Green
} else {
Write-Host " -> Start-MacKeys.bat not found in repo." -ForegroundColor Red
}
Write-Host ""
Write-Host "========================================" -ForegroundColor Cyan
Write-Host " Installation complete!" -ForegroundColor Green
Write-Host "========================================" -ForegroundColor Cyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment