[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"pack-detail-windows-engineer-ai-stack-zh":3,"seo:pack:windows-engineer-ai-stack:zh":96},{"code":4,"message":5,"data":6},200,"操作成功",{"pack":7},{"slug":8,"icon":9,"tone":10,"status":11,"status_label":12,"title":13,"description":14,"items":15,"install_cmd":95},"windows-engineer-ai-stack","🪟","#0078D4","new","本周新建","Windows 工程师 AI 战机","10 件套，给 Windows 10\u002F11 开发者搭一套 AI 工作流：WinGet + Scoop 装包，Windows Terminal + WSL 跑壳，PowerToys + GlazeWM 控窗，AutoHotkey + Espanso 自动化，Windows-MCP 让 AI agent 直接驱动桌面。原生 Windows 优先 — 不是把 Mac 教程换个图标。",[16,28,36,43,50,57,64,71,78,85],{"id":17,"uuid":18,"slug":19,"title":20,"description":21,"author_name":22,"view_count":23,"vote_count":24,"lang_type":25,"type":26,"type_label":27},3491,"c3c11cdc-4e82-11f1-9bc6-00163e2b0d79","winget-windows-package-manager-microsoft-c3c11cdc","WinGet — Windows Package Manager by Microsoft","WinGet is the official Windows Package Manager CLI from Microsoft. It lets you discover, install, upgrade, remove, and configure applications from the command line using a curated repository of thousands of packages.","AI Open Source",94,0,"en","skill","Skill",{"id":29,"uuid":30,"slug":31,"title":32,"description":33,"author_name":34,"view_count":35,"vote_count":24,"lang_type":25,"type":26,"type_label":27},3492,"dbb25df1-4e82-11f1-9bc6-00163e2b0d79","scoop-command-line-installer-windows-developer-tools-dbb25df1","Scoop — Command-Line Installer for Windows Developer Tools","Scoop is a command-line installer for Windows that focuses on developer tools. It installs programs to your home directory by default, avoids UAC pop-ups, and keeps your PATH clean by shimming executables automatically.","Script Depot",49,{"id":37,"uuid":38,"slug":39,"title":40,"description":41,"author_name":34,"view_count":42,"vote_count":24,"lang_type":25,"type":26,"type_label":27},2745,"5eefbaec-4946-11f1-9bc6-00163e2b0d79","windows-terminal-modern-terminal-windows-microsoft-5eefbaec","Windows Terminal — The Modern Terminal for Windows by Microsoft","A GPU-accelerated terminal application for Windows that supports tabs, panes, Unicode, UTF-8, custom themes, and multiple shell profiles including PowerShell, CMD, and WSL.",89,{"id":44,"uuid":45,"slug":46,"title":47,"description":48,"author_name":34,"view_count":49,"vote_count":24,"lang_type":25,"type":26,"type_label":27},1102,"290af8f3-3641-11f1-9bc6-00163e2b0d79","wezterm-gpu-accelerated-terminal-emulator-multiplexer-290af8f3","WezTerm — GPU-Accelerated Terminal Emulator and Multiplexer","WezTerm is a GPU-accelerated cross-platform terminal emulator and multiplexer written in Rust. Configured entirely in Lua with built-in tabs, splits, SSH multiplexing, image display, and a rich set of terminal features.",152,{"id":51,"uuid":52,"slug":53,"title":54,"description":55,"author_name":22,"view_count":56,"vote_count":24,"lang_type":25,"type":26,"type_label":27},4593,"cb4291cd-5446-11f1-9bc6-00163e2b0d79","powertoys-windows-productivity-utilities-microsoft-cb4291cd","PowerToys — Windows Productivity Utilities from Microsoft","PowerToys is a set of open-source system utilities for Windows power users that includes window management, file renaming, color picking, keyboard remapping, and more.",5,{"id":58,"uuid":59,"slug":60,"title":61,"description":62,"author_name":34,"view_count":63,"vote_count":24,"lang_type":25,"type":26,"type_label":27},4160,"8753dec0-522e-11f1-9bc6-00163e2b0d79","glazewm-tiling-window-manager-windows-inspired-i3-8753dec0","GlazeWM — Tiling Window Manager for Windows Inspired by i3","GlazeWM is a tiling window manager for Windows that brings i3-style keyboard-driven workflows to the Windows desktop. It features workspaces, configurable layouts, window gaps, a built-in status bar (Zebar), and simple YAML-based configuration with hot-reload support.",46,{"id":65,"uuid":66,"slug":67,"title":68,"description":69,"author_name":34,"view_count":70,"vote_count":24,"lang_type":25,"type":26,"type_label":27},2484,"d7a6fb8a-459b-11f1-9bc6-00163e2b0d79","powershell-cross-platform-automation-shell-microsoft-d7a6fb8a","PowerShell — Cross-Platform Automation Shell from Microsoft","PowerShell is a cross-platform task automation solution consisting of a command-line shell, a scripting language, and a configuration management framework that runs on Windows, Linux, and macOS.",92,{"id":72,"uuid":73,"slug":74,"title":75,"description":76,"author_name":34,"view_count":77,"vote_count":24,"lang_type":25,"type":26,"type_label":27},4600,"62279cf5-5447-11f1-9bc6-00163e2b0d79","autohotkey-desktop-automation-scripting-windows-62279cf5","AutoHotkey — Desktop Automation and Scripting for Windows","AutoHotkey is a free scripting language for Windows that lets you create hotkeys, remap keys, automate repetitive tasks, and build lightweight GUIs with minimal code.",11,{"id":79,"uuid":80,"slug":81,"title":82,"description":83,"author_name":22,"view_count":84,"vote_count":24,"lang_type":25,"type":26,"type_label":27},2686,"fbecf272-485a-11f1-9bc6-00163e2b0d79","espanso-cross-platform-text-expander-written-rust-fbecf272","Espanso — Cross-Platform Text Expander Written in Rust","Espanso is a privacy-first text expansion tool that detects trigger keywords as you type and replaces them with templates, scripts, or dynamic content—running locally on Linux, macOS, and Windows.",80,{"id":86,"uuid":87,"slug":88,"title":89,"description":90,"author_name":91,"view_count":92,"vote_count":24,"lang_type":25,"type":93,"type_label":94},3066,"55710c60-049b-403c-972c-926e7079b382","windows-mcp-windows-computer-use-mcp","Windows-MCP — Windows Computer-Use MCP","Windows-MCP is a Python MCP server for Windows 7–11 that lets agents control apps, UI, and files. Install from PyPI via uvx and add to Claude Code.","MCP Hub",71,"mcp","MCP","tokrepo install pack\u002Fwindows-engineer-ai-stack",{"pageType":97,"pageKey":8,"locale":98,"title":99,"metaDescription":100,"h1":101,"tldr":102,"bodyMarkdown":103,"faq":104,"schema":120,"internalLinks":126,"citations":139,"wordCount":152,"generatedAt":153},"pack","zh","Windows 工程师 AI 战机 — 10 个工具配齐 Win10\u002F11 AI 工作流","WinGet \u002F Scoop \u002F Windows Terminal \u002F WezTerm \u002F PowerToys \u002F GlazeWM \u002F PowerShell \u002F AutoHotkey \u002F Espanso \u002F Windows-MCP — 一个晚上，把出厂 Win10\u002F11 改造成键盘驱动、可脚本化、AI agent 能直接驱动的工程师战机。原生 Windows 优先，含安装顺序和踩坑。","Windows 工程师 AI 战机 — 一个晚上的原生 Windows 配置","10 个工具按精心设计的顺序：先包管理器，再终端，再 WSL，再窗口控制，再自动化，最后挂一个 MCP server 让 AI agent 直接驱动桌面。第二个晚上你的 shell、窗口、AI 助手就讲同一套键盘语言。","## 这个 pack 包含什么\n\n这是一个**真正用 Windows 10\u002F11 干活**的工程师在新装机器上一个晚上会配的核心 — 不是 Reddit 上 40 个随手工具的合集。每个都是**活跃维护**、**可脚本化**、**和 AI agent 配合好**（Claude Code \u002F Cursor \u002F Codex \u002F Copilot，任何能调 shell 或 MCP server 的）。\n\nPack 刻意**原生 Windows 优先**。WSL 会出现，但作为 PowerShell 和 Win32 的同级 tab，而不是用来「假装在 Linux」。如果答案是「直接用 macOS」，那是另一个 pack — 这个 pack 是给主动选 Windows 的工程师（游戏机改的开发机、公司发的本本、Surface、Arm64 骁龙、GPU 主机）想把它弄得跟 Unix 工作站一样可自动化。\n\n## 推荐安装顺序\n\n1. **WinGet** — 微软官方包管理器。Win10 1809+ 和 Win11 自带。先装这个，因为后面所有工具都能 `winget install --id \u003Cid>` 装，得先有一条规范的安装路径再开始写脚本。\n2. **Scoop** — 基于 bucket 的便携安装器。和 WinGet 互补不冲突：Scoop 擅长命令行开发工具（jq \u002F ripgrep \u002F fd \u002F sd），直接落到 `~\u002Fscoop\u002Fshims` 不弹 UAC。GUI 用 WinGet，CLI 用 Scoop。\n3. **Windows Terminal** — 现代 GPU 加速终端，支持 tab、分屏、profile。PowerShell \u002F CMD \u002F WSL \u002F SSH 全在一个窗口里。在 `\"globals.keybindings\"` 里绑一个 `Ctrl+\\`` 全局热键，弹出\u002F收起 Quake 模式 — 单点最大体验提升。\n4. **WezTerm** *（可选替代）* — GPU 加速终端，Lua 配置，内置 SSH 多路复用和图像协议。Windows Terminal 和 WezTerm **二选一**；只在 WezTerm 用于重度 SSH 日 + Windows Terminal 用于 Windows 原生会话时才同时装。\n5. **PowerShell 7** — 跨平台 pwsh。**别凑合**用系统自带的 `powershell.exe`（5.1，只在 Windows，模块基本不更新）。`winget install Microsoft.PowerShell` 装的 `pwsh`，AI agent 在 Windows \u002F Linux \u002F macOS 上调用方式完全一致。\n6. **PowerToys** — 微软出的生产力套件。开启 **PowerToys Run**（Alt+Space 启动器）、**FancyZones**（按自定义网格 snap 窗口）、**Keyboard Manager**（Caps Lock 改成 Esc 或 Ctrl）、**Always On Top**。**别全部打开** — 选这四个，其他模块等真的需要再开。\n7. **GlazeWM** — i3 风格的平铺窗口管理器。FancyZones 用两周后手动拖窗口烦了，GlazeWM 自动平铺一切。和 PowerToys 不冲突，只要热键不重叠（`Alt+1..9` 给 GlazeWM workspace，`Win+方向键` 给 FancyZones snap）。\n8. **AutoHotkey** — Windows 上的 Hammerspoon。把 `CapsLock & j\u002Fk\u002Fl\u002F;` 绑成方向键、做一个 Pomodoro HUD、空闲触发 webhook、任何东西粘任何东西。**用 v2 学**（v1 语法在淘汰）。\n9. **Espanso** — Rust 写的文本扩展器。打 `:llm` 弹一段 200 字 Claude prompt；打 `:gpr` 弹你的 git PR 模板。YAML 配置跨平台，可 git 同步。学习曲线比 AutoHotkey 低，适合 80% 的「我打这个就出那个」场景。\n10. **Windows-MCP** — Model Context Protocol server，让 agent 控制 Windows 应用、UI 和文件。`uvx windows-mcp` 装好，接进 Claude Code 或 Codex。这是整套 AI stack 的收尾：shell、窗口、剪贴板都可脚本化之后，一个支持 MCP 的 agent 能驱动整套战机。\n\n## 它们怎么协同\n\n```\nWinGet ───────┐\n              ├─→ 装所有其他工具\nScoop ────────┘   （GUI 走 WinGet，CLI 走 Scoop）\n\nWindows Terminal  （或 WezTerm）\n        │\n        ├─ tab: PowerShell 7 (pwsh)\n        ├─ tab: WSL 2 (Ubuntu \u002F Debian)\n        ├─ tab: CMD（罕用，只为跑老 .bat）\n        └─ tab: SSH 到开发机 \u002F GPU 服务器\n\nPowerToys (PT Run \u002F FancyZones \u002F Keyboard Mgr)  ⟵  GlazeWM (自动平铺)\n        │                                              │\n        └─── 都绑在 Win+...  \u002F  Alt+... 下 ─────────────┘\n             （别双绑 — 同一个热键归一个工具）\n\nAutoHotkey  ──┐\n              ├─ 胶水层：Hyper 风格 remap、全局 hook、\n              │  Pomodoro HUD、截屏流水线、webhook\nEspanso ──────┘   （Espanso 只做文本扩展，\n                    AHK 做剩下所有）\n\nWindows-MCP (uvx)\n        │\n        └─→ Claude Code \u002F Codex \u002F Cursor — agent 驱动桌面\n            通过 screenshot + click + keyboard + 文件 API\n```\n\n**Windows Terminal + PowerShell 7 + AutoHotkey + Windows-MCP** 这四件套是分水岭：装完这套，整个机器不再是「Windows 上拼装的几个工具」，而是一个 AI 驱动的统一工作站。**别跳过 PowerShell 7** — 没有 `pwsh`，每段从 Claude 抄来的跨平台脚本都得重写。\n\n## 你会遇到的取舍\n\n- **WSL 2 vs 原生 Win32** — WSL 2 快、有真 `apt`、Linux 开发流几乎零成本移植。坑：跨 WSL ↔ Windows 文件系统的 IO 巨慢（10-100 倍）。原则：代码放在工具住的那一侧。Node 项目？放 `~\u002Fprojects\u002F` （WSL 内），别放 `\u002Fmnt\u002Fc\u002FUsers\u002F...`。C# \u002F .NET \u002F 游戏？留原生。\n- **WinGet vs Scoop vs Chocolatey** — WinGet 系统自带；Scoop 最适合 CLI 工具（不弹 UAC）；Chocolatey 仓库最全但更重 + 需要管理员。本 pack 选 WinGet + Scoop，两者加起来覆盖 ~98% 开发工具，CLI 侧零 UAC。\n- **PowerToys FancyZones vs GlazeWM** — FancyZones 是按拖触发（你决定什么时候 snap）。GlazeWM 自动平铺（每个新窗口加入布局）。**两个都装**：FancyZones 给大屏做 2-3 窗口 code review，GlazeWM 给笔记本默认平铺一切。\n- **AutoHotkey vs PowerShell 脚本** — AHK 在输入层（截 Caps Lock、热键触发、坐标 click）。PowerShell 在进程\u002F文件层（管服务、解 JSON、打 API）。**别互换** — AHK 写 HTTP 痛苦，PowerShell 用 `Register-EngineEvent` 做热键不稳。\n- **Windows Terminal vs WezTerm** — Windows Terminal Windows 集成最好（通知、jumplist、Quake 模式）。WezTerm SSH 多路复用更好，高 DPI 字体更清晰，Lua 配置。大多数工程师默认 Windows Terminal，WezTerm 给重度 SSH 日。**选一个当默认就行，别纠结。**\n\n## 常见踩坑\n\n- **WSL 2 文件系统性能** — `\u002Fmnt\u002Fc\u002F...` 里跑 `npm install` 比 `~\u002F` 慢 30 倍。开发流感觉「坏了」一般就是这个原因。把仓库挪进 WSL 原生 ext4 分区。\n- **WSL 和 Windows 路径转换** — `wslpath -w ~\u002Ffile` 把 WSL 路径转成 `C:\\Users\\...\\file` 给 Windows 工具用，`wslpath -u` 反过来。**这两个命令背下来**，省好几小时。\n- **AutoHotkey v1 vs v2 语法** — 互联网上 99% 脚本是 v1。**别盲粘到 v2** — 语法不同（`Send, foo` vs `Send(\"foo\")`）。新脚本写 v2，老脚本用官方 v1-to-v2 转换器。别浪费时间学 v1。\n- **PowerToys 自动更新冲掉 GlazeWM 热键** — 每次 PT 更新可能重新启用你关掉的模块。GlazeWM workspace 突然不响应了 → 先看是不是 PT FancyZones 又把 `Alt+1..9` 抢走了。\n- **PowerShell 执行策略** — `pwsh.exe -ExecutionPolicy Bypass -File foo.ps1` 是 AI agent 友好的调用方式。默认 `Restricted` 策略会**静默拒绝**跑 `.ps1`，看起来像脚本坏了。\n- **Windows-MCP 需要前台窗口** — agent 驱动的 UI 自动化没法点被遮挡的窗口。要么先把目标拉到前台再发输入，要么改用无头的文件\u002F注册表 API。\n- **Defender SmartScreen 首次拦截** — Scoop \u002F GlazeWM \u002F AutoHotkey 脚本首次跑都可能触发 SmartScreen。右键 → 属性 → 取消阻止，或者 PowerShell 里 `Unblock-File`。**别全局关 SmartScreen** — 单文件取消阻止就行。",[105,108,111,114,117],{"q":106,"a":107},"新装的 Windows 全部装完到底要多久？","纯安装时间约 2 小时：WinGet + Scoop + Windows Terminal + PowerShell 7 全是一行命令，30 分钟；WSL 2 + Ubuntu 发行版下载，20 分钟；PowerToys + GlazeWM 配置 + 热键冲突清理，30 分钟；写第一个 AutoHotkey 脚本 + Espanso 配置，30 分钟。预算一个晚上，不是喝杯咖啡的功夫。AI 收尾（Windows-MCP 接进 Claude Code）等 `uvx` 跑起来再额外加 30 分钟。",{"q":109,"a":110},"我必须装 WSL 吗？还是这整套能纯原生 Windows 跑？","纯原生跑 .NET \u002F Go \u002F Rust \u002F 大部分 Python 开发都没问题。WSL 变重要是当你依赖 Linux-first 工具时：不用 Docker Desktop 跑 Docker、Nix、跑不动 pwsh 的 Bash CI 脚本、Node 项目里某个只跑 Linux 的依赖。很多工程师只在撞到某个具体工具需要时才开 WSL，不当默认。本 pack 把 WSL 当成 Windows Terminal 里的一个同级 tab，不是主操作系统。",{"q":112,"a":113},"已经有 PowerToys FancyZones 了为啥还要 GlazeWM？","FancyZones 是手动（你拖窗口到 zone）。GlazeWM 是自动（每个新窗口自己 i3 风格平铺）。解决不同问题。多数人最后两个都装：FancyZones 给大屏明确控制的 2-3 窗口 code review 场景，GlazeWM 给笔记本默认全平铺。只要热键不重叠（`Win+方向键` 给 FancyZones、`Alt+1..9` 给 GlazeWM workspace），两个共存毫无冲突。",{"q":115,"a":116},"2026 年学 AutoHotkey 应该学 v1 还是 v2？","**v2**。官方团队已经把 v1 标为维护状态，v2 是支持的未来。坑：GitHub 和 AHK 论坛上 80% 脚本还是 v1 语法。老脚本用官方 v1-to-v2 转换器；新脚本从头学 v2（语法干净、有真函数、有真对象、错误处理规范）。别浪费时间在 v1 上。",{"q":118,"a":119},"Claude Code 这类 AI agent 真的能通过 Windows-MCP 驱动 Windows 吗？","能 — 这就是 MCP server 的全部意义。`uvx windows-mcp` 装好、在 Claude Code 的 MCP 配置里注册之后，agent 就拿到 Win10\u002F11 的 screenshot \u002F click \u002F 键盘输入 \u002F 文件操作 \u002F 窗口管理工具。配上 PowerShell 7 跑无头脚本，agent 能做和你写在 AutoHotkey 里一样的桌面自动化 — 只不过是对话驱动的。把 MCP server 当作高信任胶水层：限制在它自己的用户账号下，别挂在管理员账号里。",{"@context":121,"@type":122,"name":13,"description":123,"numberOfItems":124,"inLanguage":125},"https:\u002F\u002Fschema.org","ItemList","10 个原生 Windows 优先 + Windows 友好的工具，按推荐安装顺序给 Win10\u002F11 开发者搭一套 AI 工作流。",10,"zh-CN",[127,131,135],{"url":128,"anchor":129,"reason":130},"\u002Fzh\u002Fai-tools-for\u002Fautomation","AI Agent 自动化工具集","AutoHotkey 和 Windows-MCP 属于更大的 AI 自动化工具箱",{"url":132,"anchor":133,"reason":134},"\u002Fzh\u002Ftopics","浏览其他主题 pack","Mac、后端、前端、数据工程师 pack 都和本 pack 并列",{"url":136,"anchor":137,"reason":138},"\u002Fzh\u002Ffeatured","TokRepo 精选资产","这十个工具属于更大的精选目录",[140,144,148],{"claim":141,"source_name":142,"source_url":143},"WinGet 是微软官方的 Windows 包管理器","WinGet 官方文档","https:\u002F\u002Flearn.microsoft.com\u002Fzh-cn\u002Fwindows\u002Fpackage-manager\u002Fwinget\u002F",{"claim":145,"source_name":146,"source_url":147},"PowerToys 是微软开源的 Windows 生产力工具集","PowerToys GitHub 仓库","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPowerToys",{"claim":149,"source_name":150,"source_url":151},"GlazeWM 是 i3 启发的 Windows 平铺窗口管理器","GlazeWM GitHub 仓库","https:\u002F\u002Fgithub.com\u002Fglzr-io\u002Fglazewm",900,"2026-05-22T10:00:00Z"]