Skip to content

Instantly share code, notes, and snippets.

View bluntspoon's full-sized avatar
🎯
Focusing

Andrew Bevan bluntspoon

🎯
Focusing
View GitHub Profile
@bluntspoon
bluntspoon / DevMachineSetup_WinGet.ps1
Last active March 12, 2024 10:58
Basic Dev Machine Setup using WinGet
#Install WinGet
Write-Host "-=Installing WinGet=-" -ForegroundColor Black -BackgroundColor White
$hasPackageManager = Get-AppPackage -name 'Microsoft.DesktopAppInstaller'
if (!$hasPackageManager -or [version]$hasPackageManager.Version -lt [version]"1.10.0.0") {
Add-AppxPackage -Path 'https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle'
Write-Host "WinGet is installed" -ForegroundColor Green
}
else {
Write-Host "WinGet is already installed" -ForegroundColor Green
}
@bluntspoon
bluntspoon / terminal_settings.json
Last active March 12, 2024 19:28
DevMachineSetup_WinGet_2024
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false
@bluntspoon
bluntspoon / settings.json
Last active March 12, 2024 19:12
Terminal_Settings_2024
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command":
{
"action": "copy",
"singleLine": false