Skip to content

Instantly share code, notes, and snippets.

@hyunbinseo
Last active July 5, 2025 12:47
Show Gist options
  • Save hyunbinseo/e4d43b09a933fd785a436b32f5d2ce9d to your computer and use it in GitHub Desktop.
Save hyunbinseo/e4d43b09a933fd785a436b32f5d2ce9d to your computer and use it in GitHub Desktop.
Install apps using WinGet on Windows
$packages = @(
'9P1XD8ZQJ7JD', # fre:ac
'AdGuard.AdGuard',
'AdrienAllard.FileConverter',
'astral-sh.uv',
'Balena.Etcher',
'Bitwarden.Bitwarden',
'ch.LosslessCut',
'ClockworkMod.UniversalADBDriver',
'Dropbox.Dropbox',
'Git.Git',
'GitHub.cli',
'GitHub.GitHubDesktop',
'Google.Chrome',
'Google.GoogleDrive',
'Greenshot.Greenshot',
'Gyan.FFmpeg',
'ImageMagick.ImageMagick',
'Kakao.KakaoTalk',
'KDE.KDEConnect',
'LocalSend.LocalSend',
'M2Team.NanaZip',
'Microsoft.PowerShell',
'Microsoft.PowerToys',
'Mozilla.Firefox',
# 'Mozilla.Thunderbird',
'OBSProject.OBSStudio',
'okibcn.nano',
'Schniz.fnm',
'schollz.croc',
'Sinew.Enpass',
# 'SublimeHQ.SublimeMerge',
'tailscale.tailscale',
'Telegram.TelegramDesktop',
'VideoLAN.VLC',
'Yubico.Authenticator',
'Zoom.Zoom',
)
foreach ($package in $packages) {
Write-Host "Installing $package..."
winget install -e --id $package
}
winget install -e --id Microsoft.VisualStudioCode --override '/SILENT /mergetasks="!runcode,addcontextmenufiles,addcontextmenufolders"';
# winget install -e --id=Microsoft.VisualStudioCode.Insiders --override '/SILENT /mergetasks="!runcode,addcontextmenufiles,addcontextmenufolders"';
# 터미널 / 설정 / PowerShell / 시작 디렉터리 / .
if (-not (Test-Path $profile)) { New-Item $profile -Force }
Invoke-Item $profile
# fnm env --use-on-cd --corepack-enabled --shell powershell | Out-String | Invoke-Expression
# https://github.com/Schniz/fnm?tab=readme-ov-file#powershell
# https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_profiles
git config --global core.autocrlf true
git config --global init.defaultBranch main
gh auth login
gh auth setup-git # https://cli.github.com/manual/gh_auth_setup-git
gh auth switch
git clone https://alice@github.com/mona/test # https://github.com/git-ecosystem/git-credential-manager/blob/main/docs/multiple-users.md
Set-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Tracing\RazerInstaller_RASAPI32" -Name "Start" -Value 4 -Type DWord
Set-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Tracing\RazerInstaller_RASMANCS" -Name "Start" -Value 4 -Type DWord
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment