Windows is finally getting a Package-Manager like YUM or APT-GET along with a repository. The Package-Manager is called WINGET (apparently after APT-GET; someone at MS must be a Ubuntu/Debian fan).
It was awkward getting WINGET which is kinda ironic. Reportedly, it will be in WINDOWS-UPDATES automatically at some point.
Until then, to get WINGET, I had to:
- -open powershell
- -wget https://github.com/microsoft/winget-cli/releases/download/v1.1.12653/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -outfile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
- -run: add-appxpackage -Path ".\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle"
If you want to do it manually/visually:
- go to the GITHUB site here: https://github.com/microsoft/winget-cli/releases
- -click on the newest release (not pre-release).
- -download the .msixbundle here:
- -double-click to install through the MS Store.
To use WINGET, simple type:
winget
winget list
winget search replace-with-lazy-search-keywords-here
(ie winget search shell)
(means "shell" will show "Shell Notebook" "open shell" but also "TortoiseGit" because it is tagged with "shell")
winget install -h foo-app
winget upgrade -h foo-app
winget settings
This will open the settings file. It is a JSON file for customizations. Mine looks like this.
So if the Windows 10/11 system were from fresh install, it would look something like this:
=========================================
cd \
cd .\installs\
wget https://github.com/microsoft/winget-cli/releases/download/v1.5.1881/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -outfile Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
.\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle
winget
winget search chrome
winget install google.chrome -h --accept-package-agreements --accept-source-agreements
winget search firefox
winget install mozilla.firefox -h --accept-package-agreements --accept-source-agreements
winget search notepad
winget install Notepad++.Notepad++ --scope machine -h --accept-package-agreements --accept-source-agreements
winget search putty
winget install putty.putty --scope machine -h --accept-package-agreements --accept-source-agreements
winget search winscp
winget install WinSCP.WinSCP --scope machine -h --accept-package-agreements --accept-source-agreements
winget search office |findstr /i micro
winget install microsoft.office -h --accept-package-agreements --accept-source-agreements
winget search mremote
winget install mremoteng.mremoteng --scope machine -h --accept-package-agreements --accept-source-agreements
winget search totalc
winget install Ghisler.TotalCommander --scope machine -h --accept-package-agreements --accept-source-agreements
winget search adobe
winget install Adobe.Acrobat.Reader.64-bit --scope machine -h --accept-package-agreements --accept-source-agreements
winget search 7zip
winget install 7zip.7zip --scope machine -h --accept-package-agreements --accept-source-agreements
winget search openvpn
winget install openvpntechnologies.openvpn --scope machine -h --accept-package-agreements --accept-source-agreements
winget search keepass
winget install DominikReichl.KeePass --scope machine -h --accept-package-agreements --accept-source-agreements
winget search vlc
winget install videolan.vlc --scope machine -h --accept-package-agreements --accept-source-agreements
winget search discord
winget install discord.discord -h --accept-package-agreements --accept-source-agreements
winget search shell
winget install Open-Shell.Open-Shell-Menu -h --accept-package-agreements --accept-source-agreements
winget search advanced
winget install Famatech.AdvancedIPScanner -h --accept-package-agreements --accept-source-agreements
cat C:\users\usernamehere\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
==================================================================
NOTES: