instances/xiaodazi/skills/winget/SKILL.md
Manage software on Windows using winget (Windows Package Manager). Search, install, upgrade, and list applications from the command line.
npx skillsauth add malue-ai/dazee-small wingetInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
使用 Windows 官方包管理器 winget 搜索、安装、升级和管理应用程序。 类似 macOS 上的 Homebrew,是 Windows 10 (1709+) / 11 内置的命令行工具。
# 搜索应用
winget search "Visual Studio Code"
# 精确匹配 ID
winget search --id "Microsoft.VisualStudioCode"
# 按来源筛选(winget / msstore)
winget search "Python" --source winget
# 安装应用(静默模式)
winget install --id "Microsoft.VisualStudioCode" --silent --accept-package-agreements --accept-source-agreements
# 安装指定版本
winget install --id "Python.Python.3.12" --version "3.12.4"
# 安装到自定义路径
winget install --id "Git.Git" --location "D:\Tools\Git"
# 从 Microsoft Store 安装
winget install --id "9NBLGGH4NNS1" --source msstore # EarTrumpet
# 列出所有已安装应用
winget list
# 按名称过滤
winget list "Python"
# 检查可升级的应用
winget upgrade
# 升级特定应用
winget upgrade --id "Microsoft.VisualStudioCode"
# 升级所有可升级的应用
winget upgrade --all --silent --accept-package-agreements
# 升级并忽略版本限制
winget upgrade --id "Git.Git" --include-unknown
# 卸载应用
winget uninstall --id "Mozilla.Firefox"
# 导出当前已安装应用到 JSON
winget export -o "$env:USERPROFILE\Desktop\apps.json"
# 从 JSON 批量安装(换机迁移)
winget import -i "$env:USERPROFILE\Desktop\apps.json" --accept-package-agreements
# 查看应用详细信息
winget show --id "Microsoft.VisualStudioCode"
| 应用 | 安装命令 |
|------|----------|
| VS Code | winget install Microsoft.VisualStudioCode |
| Git | winget install Git.Git |
| Python 3.12 | winget install Python.Python.3.12 |
| Node.js LTS | winget install OpenJS.NodeJS.LTS |
| 7-Zip | winget install 7zip.7zip |
| Everything | winget install voidtools.Everything |
| PowerToys | winget install Microsoft.PowerToys |
| Windows Terminal | winget install Microsoft.WindowsTerminal |
| Chrome | winget install Google.Chrome |
| Firefox | winget install Mozilla.Firefox |
| VLC | winget install VideoLAN.VLC |
| Obsidian | winget install Obsidian.Obsidian |
| Notion | winget install Notion.Notion |
当其他 Skill 提示「需要安装 XX」时,自动使用 winget 安装:
用户: "帮我用 Everything 搜索文件"
→ 检测 Everything 未安装
→ 提示: "Everything 未安装,需要安装吗?"
→ 用户确认
→ winget install voidtools.Everything --silent
→ 安装完成,继续执行搜索
--silent 和 --accept-package-agreements 避免弹窗阻塞upgrade --all:逐个确认development
Local web search (Tavily/Exa, requires API Key). For quick searches. If no Key configured or deep research needed, use cloud_agent instead.
development
Get current weather and forecasts (no API key required).
tools
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
tools
Start voice calls via the Moltbot voice-call plugin.