系统之家提供 Windows 系统、Ghost 系统、驱动与常用软件的安全下载及安装教程。纯净系统 原版ISO 微软官方镜像 MSDN我告诉你 系统之家 装机吧 小白一键重装 驱动总裁 万能驱动 启动盘制作 Rufus Ventoy UltraISO PE系统 微PE 进BIOS 设置U盘启动 分区工具 DiskGenius 格式化C盘 激活工具 KMS 正版授权 系统补丁 运行库 DirectX VC++ .NET Framework 安全设置 系统优化 备份还原 后台管理
📢 欢迎访问系统之家!所有资源均经过安全检测。

Use WinGet to install and manage applications

发布时间:2026-08-21 | 浏览:1
📥 下载地址(文章开头)
电脑助手解决一切电脑软件问题。
Access to this page requires authorization. You can try signing in or changing directories . Access to this page requires authorization. You can try changing directories . WinGet is a command line tool enabling users to discover, install, upgrade, remove and configure applications on Windows 10, Windows 11, and Windows Server 2025 computers. This tool is the client interface to the Windows Package Manager service. WinGet the Windows Package Manager is available on Windows 11, modern versions of Windows 10, and Windows Server 2025 as a part of the App Installer . The App Installer is a System Component delivered and updated by the Microsoft store on Windows Desktop versions, and via Updates on Windows Server 2025. The WinGet command line tool is only supported on Windows 10 version 1809 (build 17763) or later. WinGet will not be available until you have logged into Windows as a user for the first time, triggering Microsoft Store to register the Windows Package Manager as part of an asynchronous process. If you have recently logged in as a user for the first time and find that WinGet is not yet available, you can open PowerShell and enter the following command to request this WinGet registration: Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe . It's possible that App Installer is not installed on your device. In that case, it can be downloaded here . Install WinGet preview version [Developers Only] WinGet is included in the App Installer. To try the latest Windows Package Manager features, you can install a preview build one of the following ways: Download the latest WinGet preview version . Read the Release notes for WinGet preview to learn about any new features. Installing this package will give you the preview version of the WinGet client, but it will not enable automatic updates of new preview versions from the Microsoft Store. Download the latest WinGet preview version . Read the Release notes for WinGet preview to learn about any new features. Installing this package will give you the preview version of the WinGet client, but it will not enable automatic updates of new preview versions from the Microsoft Store. Use a Microsoft Account (MSA), work, school or Microsoft Entra ID (formerly Azure Active Directory) account to sign up for the Windows Insider Program in the Canary or Dev Channels . The Windows Insider Canary and Dev Channels include automatic updates of new preview versions of WinGet from the Microsoft Store. Use a Microsoft Account (MSA), work, school or Microsoft Entra ID (formerly Azure Active Directory) account to sign up for the Windows Insider Program in the Canary or Dev Channels . The Windows Insider Canary and Dev Channels include automatic updates of new preview versions of WinGet from the Microsoft Store. Install WinGet on Windows Sandbox Windows Sandbox provides a lightweight desktop environment to safely run applications in isolation. Software installed inside the Windows Sandbox environment remains "sandboxed" and runs separately from the host machine. Windows Sandbox does not include WinGet, nor the Microsoft Store app, so you will need to download the latest WinGet package from the WinGet releases page on GitHub, or use the Repair-WinGetPackageManager cmdlet. To install the stable release of WinGet on Windows Sandbox, follow these steps from a Windows PowerShell command prompt: To install the WinGet PowerShell module in machine scope, you can use the -Scope AllUsers parameter with the Install-Module cmdlet. If you would like a preview version of WinGet, you can add -IncludePrerelease parameter with the Repair-WinGetPackageManager cmdlet. To see the available parameters for the Repair-WinGetPackageManager cmdlet, you can run Get-Help Repair-WinGetPackageManager -Full . For more information on Windows Sandbox, including how to install a sandbox and what to expect from its usage, see the Windows Sandbox docs . Administrator considerations Installer behavior can be different depending on whether you are running WinGet with administrator privileges. When running WinGet without administrator privileges, some applications may require elevation to install. When the installer runs, Windows will prompt you to elevate . If you choose not to elevate, the application will fail to install. When running WinGet without administrator privileges, some applications may require elevation to install. When the installer runs, Windows will prompt you to elevate . If you choose not to elevate, the application will fail to install. When running WinGet in an Administrator Command Prompt, you will not see elevation prompts if the application requires it. Always use caution when running your command prompt as an administrator, and only install applications you trust. When running WinGet in an Administrator Command Prompt, you will not see elevation prompts if the application requires it. Always use caution when running your command prompt as an administrator, and only install applications you trust. After App Installer is installed, you can run WinGet by typing 'winget' from a Command Prompt. One of the most common usage scenarios is to search for and install a favorite tool. To search for a tool, type winget search <appname> . To search for a tool, type winget search <appname> . After you have confirmed that the tool you want is available, you can install the tool by typing winget install <appname> . The WinGet tool will launch the installer and install the application on your PC. After you have confirmed that the tool you want is available, you can install the tool by typing winget install <appname> . The WinGet tool will launch the installer and install the application on your PC.
📥 下载地址(文章中间)
电脑助手解决一切电脑软件问题。
In addition to install and search, WinGet provides a number of other commands that enable you to show details on applications, change sources , and validate packages . To get a complete list of commands, type: winget --help . In addition to install and search, WinGet provides a number of other commands that enable you to show details on applications, change sources , and validate packages . To get a complete list of commands, type: winget --help . Some users have reported issues with the client not being on their PATH. The current version of the WinGet tool supports the following commands. The WinGet tool supports the following options. Supported installer formats WinGet supports the following types of installers: EXE (with Silent and SilentWithProgress flags) Scripting WinGet The Microsoft.WinGet.Client PowerShell module is available on the PowerShell Gallery. Debugging and troubleshooting WinGet provides logging to help diagnose issues. For troubleshooting and details on logging, see Debugging and troubleshooting . If the community repository does not include your tool or application, submit a package to our repository . By adding your favorite tool, it will be available to you and everyone else. Customize WinGet settings You can configure the WinGet command line experience by modifying the settings.json file. For more information, see the page for the settings command . Open source details The WinGet tool is open source software available on GitHub in the repo https://github.com/microsoft/winget-cli/ . The source for building the client is located in the src folder . The source for WinGet is contained in a Visual Studio 2022 C++ solution. To build the solution correctly, clone the repository and run the appropriate WinGet Configuration file located in the ".github" directory. We encourage you to contribute to the WinGet source on GitHub. You must first agree to and sign the Microsoft CLA. Pull requests should come from a branch on your own fork. Troubleshooting The winget-cli repo maintains a list of common issues and common errors, along with recommendations on how to resolve: common issues -- not recognized, failed to run, App Installer version or PATH variable need updating common errors -- Error 0x801901a0, 0x80d03002, 0x80070490 Windows developer Was this page helpful? Need help with this topic? Want to try using Ask Learn to clarify or guide you through this topic? Additional resources Last updated on 2026-07-19
📥 下载地址(文章结尾)
电脑助手解决一切电脑软件问题。