Winget

Winget is a command-line based package manager for Windows. It allows you to install or uninstall an application in one command.

Package names are case sensitive and need to be put into quotes if they contain a space.

Available Apps

Launch CMD (command prompt) and enter :

  • winget install WinSCP

  • winget install PuTTY.PuTTY

  • winget install "Wifi Analyzer"

  • winget install 7zip.7zip (Available in Software Center)

  • winget install "Diligent Boards" (Available in Software Center)

  • winget install Zotero (Available in Software Center)

  • winget install Microsoft.VisualStudioCode

  • winget install Microsoft.SQLServerManagementStudio

  • winget install WinDirStat.WinDirStat

  • winget install "HEIF extension"

  • winget install Canonical.Ubuntu.2204 (Requires WSL)

  • winget install Canonical.Ubuntu.2004 (Requires WSL)

  • winget install JetBrains.ReSharper

  • winget install Git.Git

  • winget install OpenJS.NodeJS

  • winget install Microsoft.AzureCLI



WSL (Windows Subsystem for Linux)

WSL is required to use certain applications, and can be installed using DISM tool :

  • Open CMD

  • Enter : dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

  • Enter : dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

  • Restart computer.



From Explorer

If your computer doesn't have winget installed, launch Windows Store and select Get Updates.
Packages can be installed by pasting command into File Explorer :

  • cmd /k winget install "Package Name"

  • cmd /k winget install Package.ID

  • cmd /k winget uninstall "Package Name"

  • cmd /k winget uninstall Package.ID




Search

  1. winget search ex. Firefox

  2. Install package by name : winget install "Mozilla Firefox"

  3. Install package by Id :      winget install Mozilla.Firefox




Troubleshooting

You may need to sign-in or create a personal account in order to install applications that include in app purchases.

  • command not found : update App Installer from Microsoft Store.

  • ex. "Verifying/Requesting package acquisition failed: no store account found"

  • Make sure the computer is on DA1. I wasn't able to sign-in while connected via VPN.

  • Apps that contain in app purchases can be installed from the Microsoft Store but will fail with winget.







Related articles



How to Contact the Computer Services Department


Submit a ticket
To submit a ticket, you will be required to log in using your FULL Royal Roads email address (detailed instructions here)
New! If you do not have a full RRU email address (students not currently in a credit program and/or visitors), you can create a portal account using your personal email address.
Email us at IT Customer Service
Contact Form
Phone: 250-391-2659 Toll Free: 1-866-808-5429
Come visit us in the Sequoia Building
Hours of Operation