mirror of
https://github.com/DoTheEvo/selfhosted-apps-docker.git
synced 2026-07-03 14:06:40 +02:00
1.3 KiB
1.3 KiB
Windows Package Managers
guide-by-example
Purpose & Overview
Install and manage software on windows through command line.
- winget
- chocolatey
- scoop
Winget
winget search irfanview
winget install irfanview
+ Comes preinstalled with windows 10+
- Feels like unmanaged afterthought
Scoop
User
- non-admin powershell terminal
Set-ExecutionPolicy RemoteSigned -Scope CurrentUserirm get.scoop.sh | iexscoop install git sudoscoop bucket add extrasscoop bucket add sysinternalsscoop bucket add nonportable
Machine-wide
- admin powershell terminal
Set-ExecutionPolicy Bypassiex "& {$(irm get.scoop.sh)} -RunAsAdmin"scoop install git sudo --globalscoop bucket add extrasscoop bucket add sysinternalsscoop bucket add nonportable
Useful
- search -
scoop search mpv scoop install mpv --global- search for avaialble pacakges - scoop.sh
Choco
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))