avatar

技术小站

老骥伏枥,日行千里

  • 首页
  • Java
  • Web
  • 框架
  • 微服务
  • 架构
  • 数据库
  • 中间件
  • 研发
  • 关于
Home How to upgrade winget itself
文章

How to upgrade winget itself

Posted 2024-01-21 Updated 2024-01- 21
By 管理员
7~9 min read

First, open the Release Page of microsoft/winget-cli GitHub Repository, grab the latest download link with “.msixbundle” extension, and copy it to your clipboard.

You just need to copy the download link without downloading it.

Remember, if you’re on your production environment, please don’t install the releases with “Pre-release” lable. Such releases can be buggy and may encounter unusual errors & issues.

A screenshot from winget-cli GitHub Release Page

Turn up Windows Terminal (Administrator) with PowerShell.

PowerShell screenshot (with Administrator)

Type in the following command. Remember to replace URI-TO-YOUR-PREV-COPIED LINK with your copied link.

PS C:\Users\WrOffi> Add-AppxPackage -Path 'URI-TO-YOUR-PREV-COPIED LINK'
PS C:\Users\WrOffi> # Example: Add-AppxPackage -Path 'https://github.com/microsoft/winget-cli/releases/download/v1.6.2721/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle'Copy

After that, the App Installer will automatically finish the following task.

Screenshot of installing winget latest version with PowerShell

Finally, you can check the version of winget with the following command.

PS C:\Users\WrOffi> winget --version
v1.6.2721Copy


工具
工具
License:  CC BY 4.0
Share

Further Reading

Jun 4, 2025

【Windows】ApifoxAppAgent开机启动项删除

✨ApifoxAppAgent 首先建议使用Geek Uninstaller卸载 卸载会检测软件残留痕迹并清除 然而在开机启动项仍然存在名为ApifoxAppAgent残留项

Jun 2, 2025

Windows11 莫名端口占用,而又找不到占用应用的奇怪问题

尝试用命令却找不到任何占用这个端口的程序。 # 49793 请自行替换为实际的端口号 netstat -ano | findstr "49793" Windows系统或某些软件为了实现某些功能,需要预先保留一部分端口。 执行以下命令查看保留端口 netsh int ip show excluded

May 30, 2025

Crack Sublime Text 4.2.0.0 Build 4200

import sys import os NOP = 0x90 offsets_and_values = { 0x00030170: 0x00, 0x000A94D0: NOP, 0x000A94D1: NOP, 0x000A94D2: NOP, 0x000A94D3: NOP,

OLDER

2.5 million Java developers on Visual Studio Code! Roadmap for the next 6 months

NEWER

Java程序员快速提升代码质量,做好Code Review建议

Recently Updated

  • 【Windows】ApifoxAppAgent开机启动项删除
  • Proxy AI 配置第三方AI模型
  • Windows11 莫名端口占用,而又找不到占用应用的奇怪问题
  • Crack Sublime Text 4.2.0.0 Build 4200
  • 当 SSH 登录 CentOS 7 系统时认证缓慢的解决方案

Trending Tags

Halo 研发 工具 Linux 数据库 Java AI 象棋 Web Docker

Contents

©2025 技术小站. Some rights reserved.

Using the Halo theme Chirpy