winapp CLI
winapp CLI is a command-line interface tool developed by Microsoft for managing and deploying Windows applications efficiently. The tool streamlines application packaging, installation, and distribution processes through automated scripting and batch operations. Key features include support for various Windows app formats (MSIX, MSI, EXE), silent installation capabilities, dependency management, and integration with enterprise deployment pipelines. It enables IT administrators and developers to automate app lifecycle management, perform bulk installations across multiple systems, and maintain consistent application environments. The CLI is particularly valuable for DevOps workflows, system administration tasks, and enterprise-scale application deployment scenarios where GUI-based tools are impractical.
Latest Releases
All releases0.8.0
Commit: e5cedcc04921f6f74535cf45668292203e439d45
<!-- Release notes generated using configuration in .github/release.yml at v0.8.0 -->
What's Changed
Other Changes
- Fix two flaky execution-target tests by @azchohfi in https://github.com/microsoft/winappCli/pull/950
- Fix
winapp new -t reactorwhen another template pack also registersreactorby @azchohfi in https://github.com/microsoft/winappCli/pull/949 - Hold and verify every WinUI triage debugger DLL until triage finishes by @azchohfi in https://github.com/microsoft/winappCli/pull/954
- Stop certificate tests leaking dev certificates into CurrentUser\My by @azchohfi in https://github.com/microsoft/winappCli/pull/953
- Use absolute URLs for winapp-sandbox doc links by @nmetulev in https://github.com/microsoft/winappCli/pull/960
- Fix release-build timeout in GuestProcessHost output-drain test by @nmetulev in https://github.com/microsoft/winappCli/pull/962
- Update AI agent detection to the env vars agents set today by @nmetulev in https://github.com/microsoft/winappCli/pull/963
- Bump version to 0.7.2 for development by @nmetulev in https://github.com/microsoft/winappCli/pull/944
- Skip a Windows App SDK release until its pinned sub-packages are published by @azchohfi in https://github.com/microsoft/winappCli/pull/956
- Capture windowed popups when recording or screenshotting an element by @nmetulev in https://github.com/microsoft/winappCli/pull/967
- Keep winapp usable when %USERPROFILE%\.winapp is not writable by @nmetulev in https://github.com/microsoft/winappCli/pull/941
- Bump Electron Forge to 8 and @electron/fuses to 2 in Electron samples by @nmetulev in https://github.com/microsoft/winappCli/pull/961
- Emit JSON when
cert generate --if-exists skip --jsonkeeps an existing file by @zateutsch in https://github.com/microsoft/winappCli/pull/970 - Fix
winapp run <dir>ambiguity error listing non-runnable projects by @zateutsch in https://github.com/microsoft/winappCli/pull/971 - Add CI checks for agent skill packages by @nmetulev in https://github.com/microsoft/winappCli/pull/972
- Fix intermittent Cli-2 test failures and bound the winui-unpackaged sample wait by @nmetulev in https://github.com/microsoft/winappCli/pull/980
- List WinUI templates first in
winapp newby @azchohfi in https://github.com/microsoft/winappCli/pull/989 - Fix
ui get-propertyreporting ordinary text boxes as password fields by @nmetulev in https://github.com/microsoft/winappCli/pull/965 - winapp run: suggest --debug-output when an attached app exits nonzero by @zateutsch in https://github.com/microsoft/winappCli/pull/991
- send-keys: hold capslock/insert for screen-reader commands; reject unknown modifiers by @zateutsch in https://github.com/microsoft/winappCli/pull/990
- Fix flaky real MP4 encoder tests (MFESINKNOSAMPLES_PROCESSED) by @nmetulev in https://github.com/microsoft/winappCli/pull/966
- Stop leaking a private-key container on every PFX sign by @zateutsch in https://github.com/microsoft/winappCli/pull/992
- Reorder root help around the app development workflow by @niels9001 in https://github.com/microsoft/winappCli/pull/987
- Add local agent plugin benchmark (v1) by @nmetulev in https://github.com/microsoft/winappCli/pull/973
- Import WinUI agent plugin from win-dev-skills (unchanged) by @nmetulev in https://github.com/microsoft/winappCli/pull/976
- Add WinUI to the Claude/OpenClaw catalog and move WinUI skill script tests by @nmetulev in https://github.com/microsoft/winappCli/pull/1007
- Stop tracking generated command wrappers and schema snapshots by @nmetulev in https://github.com/microsoft/winappCli/pull/997
- Make the AtomicFile reader-holds-destination test deterministic by @nmetulev in https://github.com/microsoft/winappCli/pull/998
- Fix windowed-popup screenshot test flake: wait for the popup to be composited by @nmetulev in https://github.com/microsoft/winappCli/pull/1003
- Benchmark v1.1: agent selection, credit cap, 42 scenarios, comparisons by @nmetulev in https://github.com/microsoft/winappCli/pull/981
- Don't downgrade a newer template pack with --template-version latest by @zateutsch in https://github.com/microsoft/winappCli/pull/1017
- Add -V short alias for --version by @zateutsch in https://github.com/microsoft/winappCli/pull/1018
- Fix ui -a for hosted apps and show editable elements in inspect --interactive by @nmetulev in https://github.com/microsoft/winappCli/pull/993
- Fix Sandbox "Access is denied" failures and keep the Sandbox window on screen by @nmetulev in https://github.com/microsoft/winappCli/pull/964
- Support C++ (.vcxproj) projects in winapp run by @nmetulev in https://github.com/microsoft/winappCli/pull/984
- Add --type/--root/--class-name to every single-element ui command by @nmetulev in https://github.com/microsoft/winappCli/pull/932
- Agent-first
winapp uihelp and unknown-command suggestions by @nmetulev in https://github.com/microsoft/winappCli/pull/942 - Benchmark v2: capability-based realistic scenarios and held-out set by @nmetulev in https://github.com/microsoft/winappCli/pull/982
- Replace the winapp plugin agent with a short skill router by @nmetulev in https://github.com/microsoft/winappCli/pull/983
- Print help and CLI schema locally when --on is given by @zateutsch in https://github.com/microsoft/winappCli/pull/1034
- winapp run --on sandbox --json: don't also forward --quiet to the guest by @nmetulev in https://github.com/microsoft/winappCli/pull/1033
- winapp run: fix packaged C++ Debug apps failing on the debug CRT path by @nmetulev in https://github.com/microsoft/winappCli/pull/1030
- Skill descriptions ≤300 chars, WinUI scope rule, and 'give the command' line by @nmetulev in https://github.com/microsoft/winappCli/pull/985
- Remove the winui-session-report skill by @nmetulev in https://github.com/microsoft/winappCli/pull/1036
- Add worktree-isolated identity to winapp run by @nmetulev in https://github.com/microsoft/winappCli/pull/872
- Report the actual crash in --debug-output dumps, not an earlier handled exception by @zateutsch in https://github.com/microsoft/winappCli/pull/1019
- Explain why a
winapp uicommand is waiting by @zateutsch in https://github.com/microsoft/winappCli/pull/1026 - Make closing winapp's Sandbox window end the Sandbox, after Windows asks by @nmetulev in https://github.com/microsoft/winappCli/pull/1047
- Benchmark: demand scenario set, outcome judging, and reference-read tracking by @nmetulev in https://github.com/microsoft/winappCli/pull/1050
- Read Toolkit samples from the index the Toolkit publishes by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/988
- Handle minimized windows in
winapp uiby @nmetulev in https://github.com/microsoft/winappCli/pull/1054 - find-ui: search control descriptions and add an API list to the sample index by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/1048
- Stop winapp run hanging when several packaged launches deploy at once by @zateutsch in https://github.com/microsoft/winappCli/pull/1058
- Show host prerequisites in
target snapshot sandboxby @zateutsch in https://github.com/microsoft/winappCli/pull/1028 - Fix winapp new picking a stale template cache's --dotnetVersion option by @nmetulev in https://github.com/microsoft/winappCli/pull/1063
- Make winapp run output as clean as dotnet build by @nmetulev in https://github.com/microsoft/winappCli/pull/1037
- feat: add WinUI ETW performance recording and analysis by @dotMorten in https://github.com/microsoft/winappCli/pull/837
- Fix
winapp run --unregister-on-exitleaving the package registered when not elevated by @zateutsch in https://github.com/microsoft/winappCli/pull/1067 - Simpler PRs and issues, and reviews that don't grow simple changes by @nmetulev in https://github.com/microsoft/winappCli/pull/1074
- Read winapp new's template cache from DOTNETCLIHOME when it is set by @nmetulev in https://github.com/microsoft/winappCli/pull/1068
- Add .NET file-based app sample and guide by @zateutsch in https://github.com/microsoft/winappCli/pull/1066
- Pin System.Security.Cryptography.Pkcs to 10.0.13 for GHSA-846f-f764-76mx / GHSA-2fmv-rv2c-59x7 by @nmetulev in https://github.com/microsoft/winappCli/pull/1079
- Fix winapp run/package building a referenced library twice (APPX1101/PRI252) by @nmetulev in https://github.com/microsoft/winappCli/pull/1032
- Add --at x,y to ui click and ui hover by @nmetulev in https://github.com/microsoft/winappCli/pull/1103
- Prefer an element named exactly the selector text in single-element ui commands by @nmetulev in https://github.com/microsoft/winappCli/pull/1102
- Fix
winapp uihanging on WinUI 3 apps with a WebView2 by @nmetulev in https://github.com/microsoft/winappCli/pull/1101 - Let --type and --class-name be the whole
winapp uiquery by @nmetulev in https://github.com/microsoft/winappCli/pull/1104 - Add
--wheel-horizontaltowinapp ui scrollby @nmetulev in https://github.com/microsoft/winappCli/pull/1100 - Fix ui --json reporting invokableAncestor as disabled at 0,0 by @nmetulev in https://github.com/microsoft/winappCli/pull/1099
- Add --angle to ui touch pinch/stretch by @nmetulev in https://github.com/microsoft/winappCli/pull/1098
- winapp run: detect the Windows App SDK in C++ projects that import it through packages.config by @nmetulev in https://github.com/microsoft/winappCli/pull/1086
- Sign packages with the hash algorithm they were built with by @nmetulev in https://github.com/microsoft/winappCli/pull/1097
- Add the app benchmark (benchmarks/apps) by @nmetulev in https://github.com/microsoft/winappCli/pull/1108
- Honor -p:Configuration for C++ projects in winapp run by @nmetulev in https://github.com/microsoft/winappCli/pull/1085
- Add a task-completion benchmark for the agent plugins by @nmetulev in https://github.com/microsoft/winappCli/pull/1052
- WinUI DevTools: inspect, comment on and live-edit a running WinUI app by @nmetulev in https://github.com/microsoft/winappCli/pull/943
- Add UI automation benchmarks (agent-driven and scripted perf) under benchmarks/ui by @nmetulev in https://github.com/microsoft/winappCli/pull/1053
- Benchmark: score the winapp-performance and winui-devtools skills by @nmetulev in https://github.com/microsoft/winappCli/pull/1111
- winapp new: suggest
winapp run <name>.csfor single-file templates by @azchohfi in https://github.com/microsoft/winappCli/pull/1109 - Avoid per-rule firewall queries during Sandbox preparation by @khmyznikov in https://github.com/microsoft/winappCli/pull/1106
- find-ui: more synonyms, loaded from the shared search vocabulary by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/1072
- Resolve winapp.exe's own DLL imports from System32 only by @nmetulev in https://github.com/microsoft/winappCli/pull/1073
- xaml-triage child: verify what it loads instead of trusting its arguments by @nmetulev in https://github.com/microsoft/winappCli/pull/1046
- Build C#/WinRT apps when the targeted Windows SDK version isn't installed by @nmetulev in https://github.com/microsoft/winappCli/pull/1069
- Show WinUI menus, flyouts and tooltips in recordings by @yeelam-gordon in https://github.com/microsoft/winappCli/pull/1061
- Help: Quick start in root help, and a readable, colored layout for every command by @nmetulev in https://github.com/microsoft/winappCli/pull/1116
- find-ui: return TableView for table, data grid and spreadsheet queries by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/1121
- Fix plated taskbar icon and missing title bar icon for file-based apps by @niels9001 in https://github.com/microsoft/winappCli/pull/1080
- ui record: add --cursor to show the mouse pointer and clicks by @zateutsch in https://github.com/microsoft/winappCli/pull/1123
- Clear error when packaged winapp runs from a layout under AppData by @zateutsch in https://github.com/microsoft/winappCli/pull/1117
- Docs: use alert syntax for callouts so they render on Learn by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/1127
- find-api: use the project's NuGet packages folder and the registered Windows SDK location by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/1114
- Fix winapp run restoring the app twice when a test project references it by @zateutsch in https://github.com/microsoft/winappCli/pull/1124
- Fix DevTools comments: wrong save folder, lost drafts, confusing list output by @zateutsch in https://github.com/microsoft/winappCli/pull/1158
- Fix DevTools picking in dialogs and flyouts, and make the toolbar pill usable by @zateutsch in https://github.com/microsoft/winappCli/pull/1172
- DevTools: let query writes target a single match by @zateutsch in https://github.com/microsoft/winappCli/pull/1168
- Fix named-color confirmation in DevTools set-property by @chiaramooney in https://github.com/microsoft/winappCli/pull/1167
- Fix DevTools size and spacing explanations for margins and fixed widths by @zateutsch in https://github.com/microsoft/winappCli/pull/1171
- Fix ui/devtools window targeting and unclear error messages by @zateutsch in https://github.com/microsoft/winappCli/pull/1161
- Fix DevTools value-source reporting for unset properties, live edits and XAML lines by @zateutsch in https://github.com/microsoft/winappCli/pull/1160
- DevTools: show inspector tree hover as a thin outline, not the selection box by @zateutsch in https://github.com/microsoft/winappCli/pull/1173
- Publish winui to every plugin marketplace and check listings in CI by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/1185
- Fix DevTools selected buttons in High Contrast by @chiaramooney in https://github.com/microsoft/winappCli/pull/1189
- Fix DevTools: show re-enable hint when 'Don't start DevTools' is selected by @akhil9tiet in https://github.com/microsoft/winappCli/pull/1170
- Make DevTools property headers expandable and announce current values by @chiaramooney in https://github.com/microsoft/winappCli/pull/1178
- Fix DevTools inspector toggle states and accessible visual tree by @chiaramooney in https://github.com/microsoft/winappCli/pull/1190
- Bind Sandbox commands to an expected instance GUID by @khmyznikov in https://github.com/microsoft/winappCli/pull/1105
- DevTools: keep the binding panel accurate after edits and restores by @zateutsch in https://github.com/microsoft/winappCli/pull/1159
- Fix DevTools toolbar menu crash that breaks validate-devtools on main by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/1192
- benchmarks: add cli-only arm and align arm names across apps and tasks by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/1184
- DevTools: stop picking after selecting an element by @zateutsch in https://github.com/microsoft/winappCli/pull/1191
- Fix repeated roles in DevTools accessible names by @chiaramooney in https://github.com/microsoft/winappCli/pull/1193
- winapp package: accept a C++ .vcxproj by @zateutsch in https://github.com/microsoft/winappCli/pull/1122
- Improve DevTools resource suggestions and editing errors by @zateutsch in https://github.com/microsoft/winappCli/pull/1196
- Redact escaped password literals in DevTools authored output by @zateutsch in https://github.com/microsoft/winappCli/pull/1237
- Refocus docs overview and README on WinUI developers by @niels9001 in https://github.com/microsoft/winappCli/pull/986
- DevTools: save unsaved edits to the right element and make Restore reliable by @zateutsch in https://github.com/microsoft/winappCli/pull/1162
- Keep open DevTools property details in sync after edits by @zateutsch in https://github.com/microsoft/winappCli/pull/1241
- Fix ARM64 C++ WinUI toolchain selection by @zateutsch in https://github.com/microsoft/winappCli/pull/1234
- find-ui: disclose undefined event handlers instead of deleting them by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/1207
- DevTools: new toolbar and inspector icons by @niels9001 in https://github.com/microsoft/winappCli/pull/1248
- Fix DevTools comment targeting and captured identity checks by @zateutsch in https://github.com/microsoft/winappCli/pull/1240
- Release retired inspector row and editor state by @zateutsch in https://github.com/microsoft/winappCli/pull/1245
- Keep DevTools comment panels reachable after resizing or moving a window by @zateutsch in https://github.com/microsoft/winappCli/pull/1242
- Fix DevTools source-link recovery by @zateutsch in https://github.com/microsoft/winappCli/pull/1243
- Reject ambiguous DevTools targets and correct query JSON by @zateutsch in https://github.com/microsoft/winappCli/pull/1244
- Keep DevTools binding edits tied to live state and confirm page-wide Restore by @zateutsch in https://github.com/microsoft/winappCli/pull/1247
- Keep live DevTools tree captions searchable by @zateutsch in https://github.com/microsoft/winappCli/pull/1246
- Prepare the winui and winappcli plugins for marketplace listings by @niels9001 in https://github.com/microsoft/winappCli/pull/1261
- DevTools inspector: side rail and single-card layout by @niels9001 in https://github.com/microsoft/winappCli/pull/1265
- Build ADO CI on windows-2025 so it uses the same compiler as GitHub Actions by @zateutsch in https://github.com/microsoft/winappCli/pull/1268
- Fail fast when
winapp run --aotcan't publish Native AOT by @zateutsch in https://github.com/microsoft/winappCli/pull/1288 - Fix DevTools inspector memory growing with each selection by @zateutsch in https://github.com/microsoft/winappCli/pull/1285
- Keep an existing ui-comments.json.bak when the comments store is corrupt by @zateutsch in https://github.com/microsoft/winappCli/pull/1284
- Check DevTools before stopping or launching apps by @zateutsch in https://github.com/microsoft/winappCli/pull/1239
- Place source-linked DevTools comments on verified live elements by @zateutsch in https://github.com/microsoft/winappCli/pull/1266
- Honor -p Configuration for .NET projects in run and package by @zateutsch in https://github.com/microsoft/winappCli/pull/1282
- Enable Control Flow Guard for WinApp.DevTools.Native.dll by @azchohfi in https://github.com/microsoft/winappCli/pull/1293
- Fix winapp new when two copies of the WinUI template pack are installed by @zateutsch in https://github.com/microsoft/winappCli/pull/1290
- List both agent plugins in llms.txt by @niels9001 in https://github.com/microsoft/winappCli/pull/1272
- Include UiTargetArgs in Sandbox DevTools run results by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/1294
- Fix DevTools menu and inspector theming, and simplify launch preferences by @zateutsch in https://github.com/microsoft/winappCli/pull/1287
- Keep partial WinUI crash triage output when the analyzer crashes by @zateutsch in https://github.com/microsoft/winappCli/pull/1289
- Fix DevTools layout with enlarged Windows text by @chiaramooney in https://github.com/microsoft/winappCli/pull/1195
- @dotMorten made their first contribution in https://github.com/microsoft/winappCli/pull/837
- @khmyznikov made their first contribution in https://github.com/microsoft/winappCli/pull/1106
- @akhil9tiet made their first contribution in https://github.com/microsoft/winappCli/pull/1170
winappclix64.msix for x64 or winappcliarm64.msix for ARM64
2. Double-click to install
3. Automatically added to PATH
Standalone CLI Binaries
1. Download winappcli-x64.zip for x64 or winappcli-arm64.zip for ARM64
2. Extract to your desired location
3. Add to PATH or run directly: winapp.exe
NPM Package (for Electron or NodeJS)
``bash
npm install microsoft-winappcli.tgz
``
What's Included
- MSIX installer packages (x64 and ARM64)
- Standalone CLI binaries (x64 and ARM64)
- NPM package for NodeJS/Electron integration
0.7.1
Commit: e3cd0b94f3e7b776ac51ba0564f4908094e979b5
<!-- Release notes generated using configuration in .github/release.yml at e3cd0b94f3e7b776ac51ba0564f4908094e979b5 -->
What's Changed
Other Changes
- Bump version to 0.7.1 for development by @zateutsch in https://github.com/microsoft/winappCli/pull/933
- Remove AI-generated PR descriptions by @nmetulev in https://github.com/microsoft/winappCli/pull/935
- Deliver project context telemetry at its approved collection rate by @nmetulev in https://github.com/microsoft/winappCli/pull/940
- Hide MSBuild property JSON from
winapp run --aotoutput by @nmetulev in https://github.com/microsoft/winappCli/pull/936
winappclix64.msix for x64 or winappcliarm64.msix for ARM64
2. Double-click to install
3. Automatically added to PATH
Standalone CLI Binaries
1. Download winappcli-x64.zip for x64 or winappcli-arm64.zip for ARM64
2. Extract to your desired location
3. Add to PATH or run directly: winapp.exe
NPM Package (for Electron or NodeJS)
``bash
npm install microsoft-winappcli.tgz
``
What's Included
- MSIX installer packages (x64 and ARM64)
- Standalone CLI binaries (x64 and ARM64)
- NPM package for NodeJS/Electron integration
0.7.0
Commit: 2fdd020c5b7db093e8b3e317b22bdd8135a47e89
<!-- Release notes generated using configuration in .github/release.yml at 2fdd020c5b7db093e8b3e317b22bdd8135a47e89 -->
What's Changed
Other Changes
- Update nuget network policy for release failure by @zateutsch in https://github.com/microsoft/winappCli/pull/740
- Remove the thread-pool dependency from the PID-file tests by @azchohfi in https://github.com/microsoft/winappCli/pull/737
- Verify build tools are Microsoft-signed before running them by @azchohfi in https://github.com/microsoft/winappCli/pull/738
- Bump version to 0.6.1 for development by @zateutsch in https://github.com/microsoft/winappCli/pull/736
- Add a consolidated security guidance page for developers by @azchohfi in https://github.com/microsoft/winappCli/pull/735
- Invoke build tools directly in sample tests instead of Invoke-Expression by @azchohfi in https://github.com/microsoft/winappCli/pull/726
- Document the internal NuGet feed needed to run tests on a corp machine by @azchohfi in https://github.com/microsoft/winappCli/pull/746
- Use the preinstalled Rust toolchain instead of an unpinned third-party action by @azchohfi in https://github.com/microsoft/winappCli/pull/747
- Say what the default certificate password actually means by @azchohfi in https://github.com/microsoft/winappCli/pull/745
- Verify the gh download in both release stages, and bump it to 2.97.0 by @azchohfi in https://github.com/microsoft/winappCli/pull/748
- Make dotnet run pass its arguments to the app, as it does without the package by @azchohfi in https://github.com/microsoft/winappCli/pull/724
- Fix the two flaky tests taking down build-and-package by @azchohfi in https://github.com/microsoft/winappCli/pull/751
- Add OneFuzz harness for ZipRangeExtractor and fix a bounds gap it found by @azchohfi in https://github.com/microsoft/winappCli/pull/765
- Publish release symbols to symweb and MSDL by @azchohfi in https://github.com/microsoft/winappCli/pull/766
- Publish NuGet from a separate pipeline so release.yml keeps CFSClean by @azchohfi in https://github.com/microsoft/winappCli/pull/750
- Raise the build job timeout to 120 minutes by @azchohfi in https://github.com/microsoft/winappCli/pull/775
- Bump version to 0.6.3 for development by @azchohfi in https://github.com/microsoft/winappCli/pull/772
- Fix MS Learn docs generation: guides index rendering, broken security link, and ms.date churn by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/777
- Explain 0x80073CF9 instead of surfacing a bare HRESULT by @azchohfi in https://github.com/microsoft/winappCli/pull/782
- Omit registry URLs from the npm lockfile by @JamieMagee in https://github.com/microsoft/winappCli/pull/781
- Limit template update checks to once a day for winapp new by @zateutsch in https://github.com/microsoft/winappCli/pull/757
- Update winapp new to warn when scaffolding is taking longer than expected by @zateutsch in https://github.com/microsoft/winappCli/pull/756
- Adopt Agent Plugins 1.0 for the winapp plugin by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/784
- Make agent guidance audience-aware by @nmetulev in https://github.com/microsoft/winappCli/pull/786
- Resolve $targetnametoken$ for WinAppSDK self-contained apps by @azchohfi in https://github.com/microsoft/winappCli/pull/793
- Revert "Publish NuGet from a separate pipeline so release.yml keeps CFSClean" by @azchohfi in https://github.com/microsoft/winappCli/pull/795
- Surface dotnet new post-action output under --verbose for new command by @zateutsch in https://github.com/microsoft/winappCli/pull/755
- Count JS bindings recursively in the electron sample test by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/800
- Test shared Windows app-model conformance vectors by @Evangelink in https://github.com/microsoft/winappCli/pull/797
- Rehearse the release weekly from the release pipeline itself by @azchohfi in https://github.com/microsoft/winappCli/pull/783
- feat: find-ui works offline — bake the corpus into the binary, refresh cache every 24h by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/770
- Ship the UI Automation engine as its own NuGet packages by @azchohfi in https://github.com/microsoft/winappCli/pull/799
- Support the experimental Reactor templates in
winapp newby @azchohfi in https://github.com/microsoft/winappCli/pull/814 - Add bounded project context telemetry by @nmetulev in https://github.com/microsoft/winappCli/pull/785
- Re-land the NuGet-client migration on stable NuGet 7.9.0 by @azchohfi in https://github.com/microsoft/winappCli/pull/761
- feat: define the shared WinUI sample index contract (#703 Phase 0) by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/806
- Ship the WinUI 3 Roslyn analyzer as a standalone NuGet package by @zateutsch in https://github.com/microsoft/winappCli/pull/759
- Handle required architecture publish profiles in winapp run by @nmetulev in https://github.com/microsoft/winappCli/pull/788
- Cooperative UI turns for concurrent
winapp uiagents by @nmetulev in https://github.com/microsoft/winappCli/pull/767 - Fix design-time XAML compile items and defer to WinUI's own target by @azchohfi in https://github.com/microsoft/winappCli/pull/826
- Run a .NET file-based app with package identity by @azchohfi in https://github.com/microsoft/winappCli/pull/794
- Keep short recordings from ending before the first frame by @azchohfi in https://github.com/microsoft/winappCli/pull/830
- Stream project restore progress during winapp run by @nmetulev in https://github.com/microsoft/winappCli/pull/789
- feat: add winapp find-api — local Windows/WinRT API metadata search (port of winmd) by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/744
- fix(find-ui): Gallery corpus is upstream-only; ten controls that returned no code now do by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/815
- Never serve sample code that still contains a substitution placeholder by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/852
- Stop reporting service connections as missing when the build identity cannot see them by @azchohfi in https://github.com/microsoft/winappCli/pull/850
- Run and automate apps in persistent Windows execution targets by @nmetulev in https://github.com/microsoft/winappCli/pull/779
- Avoid re-resolving one-shot UI elements by @nmetulev in https://github.com/microsoft/winappCli/pull/841
- Auto-generated baselines by 1ES Pipeline Templates by @microsoft-github-policy-service[bot] in https://github.com/microsoft/winappCli/pull/858
- Fail the build when a shipped binary is unsigned by @azchohfi in https://github.com/microsoft/winappCli/pull/861
- Exercise the federated release connections instead of inspecting them by @azchohfi in https://github.com/microsoft/winappCli/pull/860
- Add typed UI geometry context by @nmetulev in https://github.com/microsoft/winappCli/pull/844
- Fix incomplete UI Automation descendant searches by @nmetulev in https://github.com/microsoft/winappCli/pull/842
- Stop filing issues for routine find-ui corpus drift by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/825
- Add scoped and typed UI Automation queries by @nmetulev in https://github.com/microsoft/winappCli/pull/848
- Expose whole-document TextPattern formatting in get-property by @nmetulev in https://github.com/microsoft/winappCli/pull/847
- Upgrade SkiaSharp and Svg.Skia past the libexpat CVE by @azchohfi in https://github.com/microsoft/winappCli/pull/864
- Stop shipping IntelliSense XML the CLI cannot read by @azchohfi in https://github.com/microsoft/winappCli/pull/867
- Baseline BinSkim BA2007 for libHarfBuzzSharp.dll by @azchohfi in https://github.com/microsoft/winappCli/pull/868
- Update CsWin32 and analyzer dependencies while preserving compiler compatibility by @nmetulev in https://github.com/microsoft/winappCli/pull/869
- Add winapp run --aot by @nmetulev in https://github.com/microsoft/winappCli/pull/817
- Add deterministic explicit UI invoke actions by @nmetulev in https://github.com/microsoft/winappCli/pull/846
- Support packaged dotnet run for .NET file-based apps by @azchohfi in https://github.com/microsoft/winappCli/pull/874
- Pack project-mode support by @zateutsch in https://github.com/microsoft/winappCli/pull/829
- Update banner to WinUI blue gradient by @niels9001 in https://github.com/microsoft/winappCli/pull/894
- Publish PR artifacts early and reuse them across validation by @nmetulev in https://github.com/microsoft/winappCli/pull/870
- Add opt-in manual prerelease publish for library NuGet packages by @zateutsch in https://github.com/microsoft/winappCli/pull/851
- Add a contributor PR lifecycle skill by @nmetulev in https://github.com/microsoft/winappCli/pull/896
- Add local code-quality pre-check skill for csharp-code-quality rules by @zateutsch in https://github.com/microsoft/winappCli/pull/893
- Expose the working directory in target snapshots by @nmetulev in https://github.com/microsoft/winappCli/pull/882
- Make
cert installaccept a public .cer (issue #838) by @zateutsch in https://github.com/microsoft/winappCli/pull/891 - Fix cert generate --manifest silently falling back to user name (#839) by @zateutsch in https://github.com/microsoft/winappCli/pull/890
- Correct dotnet output-draining documentation by @nmetulev in https://github.com/microsoft/winappCli/pull/907
- Fix screenshot host-path reporting and composite help by @nmetulev in https://github.com/microsoft/winappCli/pull/884
- Fix empty UI values falling through to accessibility labels by @nmetulev in https://github.com/microsoft/winappCli/pull/878
- Reject malformed publisher DNs in cert generate (#845) by @zateutsch in https://github.com/microsoft/winappCli/pull/892
- docs: link security guidance from README by @zateutsch in https://github.com/microsoft/winappCli/pull/904
- fix(find-ui): return samples in full instead of truncating them by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/901
- Fix find-api --filter example that returned zero matches by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/905
- Clarify blocked and ready-for-review lifecycle states by @nmetulev in https://github.com/microsoft/winappCli/pull/915
- Fix get-focused ownership for Sandbox controls without a process ID by @nmetulev in https://github.com/microsoft/winappCli/pull/880
- find-ui: report "embedded" corpus for core-only searches by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/920
- Reject terminal-error Windows Sandbox viewers by @nmetulev in https://github.com/microsoft/winappCli/pull/889
- Report the public default password in
cert generate --jsonby @azchohfi in https://github.com/microsoft/winappCli/pull/916 - Fix incorrect x:Bind analyzer diagnostics by @zateutsch in https://github.com/microsoft/winappCli/pull/921
- Require a Microsoft organization on build-tool signers, and run what was verified by @azchohfi in https://github.com/microsoft/winappCli/pull/922
- Fix composite screenshot output ignoring --quiet by @nmetulev in https://github.com/microsoft/winappCli/pull/919
- Consume the WinUI Gallery published sample index by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/895
- Reject empty publisher when manifest is specified by @rksharma-owg in https://github.com/microsoft/winappCli/pull/924
- Activate target windows and verify ui focus outcomes by @nmetulev in https://github.com/microsoft/winappCli/pull/881
- Rehearse the nuget.org network path in the weekly release rehearsal by @azchohfi in https://github.com/microsoft/winappCli/pull/927
- Skip Rust CLI scan in Component Detection to avoid crates.io probe by @zateutsch in https://github.com/microsoft/winappCli/pull/926
- Use fixed user-profile state for UI and Sandbox by @nmetulev in https://github.com/microsoft/winappCli/pull/931
- Reduce Windows Sandbox command latency by @nmetulev in https://github.com/microsoft/winappCli/pull/930
- Skip exact Win32 error-code assertions on Azure DevOps agents by @zateutsch in https://github.com/microsoft/winappCli/pull/934
- @JamieMagee made their first contribution in https://github.com/microsoft/winappCli/pull/781
- @Evangelink made their first contribution in https://github.com/microsoft/winappCli/pull/797
- @rksharma-owg made their first contribution in https://github.com/microsoft/winappCli/pull/924
winappclix64.msix for x64 or winappcliarm64.msix for ARM64
2. Double-click to install
3. Automatically added to PATH
Standalone CLI Binaries
1. Download winappcli-x64.zip for x64 or winappcli-arm64.zip for ARM64
2. Extract to your desired location
3. Add to PATH or run directly: winapp.exe
NPM Package (for Electron or NodeJS)
``bash
npm install microsoft-winappcli.tgz
``
What's Included
- MSIX installer packages (x64 and ARM64)
- Standalone CLI binaries (x64 and ARM64)
- NPM package for NodeJS/Electron integration
0.6.1Commit: d9a8d0f8ef192fa3ce07febdbe178606ea5fb4f5<!-- Release notes generated using configuration in .github/release.yml at d9a8d0f8ef192fa3ce07febdbe178606ea5fb4f5 -->
Full Changelog: https://github.com/microsoft/winappCli/compare/v0.6.0...v0.6.1
---
Installation Options
MSIX Installer (Recommended)1. Download
winappclix64.msix for x64 or winappcliarm64.msix for ARM642. Double-click to install3. Automatically added to PATHStandalone CLI Binaries1. Download
winappcli-x64.zip for x64 or winappcli-arm64.zip for ARM642. Extract to your desired location3. Add to PATH or run directly: winapp.exeNPM Package (for Electron or NodeJS)``
bashnpm install microsoft-winappcli.tgz``What's Included
- MSIX installer packages (x64 and ARM64)
- Standalone CLI binaries (x64 and ARM64)
- NPM package for NodeJS/Electron integration
0.6.0
Commit: b7494ed3b324d6e378cb17b477f2b1a9729765d0
<!-- Release notes generated using configuration in .github/release.yml at b7494ed3b324d6e378cb17b477f2b1a9729765d0 -->
What's Changed
New Features
- Fix MSIX bundle version generation by @CarlosNihelton in https://github.com/microsoft/winappCli/pull/678
- Add Node.js sample using a native WinUI 3 Application and Window by @lei9444 in https://github.com/microsoft/winappCli/pull/624
- Bump version to 0.5.1 for development by @zateutsch in https://github.com/microsoft/winappCli/pull/682
- Azure artifact signing with new az-sign command by @zateutsch in https://github.com/microsoft/winappCli/pull/595
- Backfill MS Learn doc fixes and add validation gate by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/685
- pr-review: rebuild the skill at a third the size, and stop it driving scope creep by @nmetulev in https://github.com/microsoft/winappCli/pull/696
- Add winapp-pr, a helper for installing CLI MSIX builds from PRs by @nmetulev in https://github.com/microsoft/winappCli/pull/697
- Fix winapp-pr web installer closing the caller's terminal by @nmetulev in https://github.com/microsoft/winappCli/pull/698
- Offer to set up the GitHub CLI in winapp-pr instead of just demanding it by @nmetulev in https://github.com/microsoft/winappCli/pull/700
- Offer a one-command build install in the PR metrics comment by @nmetulev in https://github.com/microsoft/winappCli/pull/699
- ci: make sample-test Pester install resilient to PSGallery flake by @nmetulev in https://github.com/microsoft/winappCli/pull/701
- Add winapp-pr -Update, -Help, and build freshness in the picker by @nmetulev in https://github.com/microsoft/winappCli/pull/702
- Add
.csproj"project mode" towinapp runby @nmetulev in https://github.com/microsoft/winappCli/pull/612 - fix(winapp-pr): paginate the artifacts query so a busy run's package is findable by @nmetulev in https://github.com/microsoft/winappCli/pull/705
- Add agent-readable UI recording artifacts by @nmetulev in https://github.com/microsoft/winappCli/pull/690
- Pin GitHub Actions to full-length commit SHAs by @OssSecurityBot in https://github.com/microsoft/winappCli/pull/707
- Add support for sparse packaging workflows by @zateutsch in https://github.com/microsoft/winappCli/pull/607
- Unify Copilot and Claude skills into a single shared plugin by @nmetulev in https://github.com/microsoft/winappCli/pull/631
- Add winapp-maui skill for the MAUI resizetizer manifest dependency by @pictos in https://github.com/microsoft/winappCli/pull/610
- Make winapp-pr usable immediately after -AddToPath by @nmetulev in https://github.com/microsoft/winappCli/pull/720
- Add winapp-pr -Uninstall and bound the download cache by @nmetulev in https://github.com/microsoft/winappCli/pull/721
- [s360-breeze-toolkit: SFI-ES-4.2.4] Use internal npm feed in Azure Pipelines by @azchohfi in https://github.com/microsoft/winappCli/pull/715
- feat: add winapp find-ui — WinUI control & sample search (Gallery + Toolkit + Reactor) by @Jaylyn-Barbee in https://github.com/microsoft/winappCli/pull/681
winapp newcommand by @zateutsch in https://github.com/microsoft/winappCli/pull/686- Invoke the CLI directly instead of building command strings in package-msix.ps1 by @azchohfi in https://github.com/microsoft/winappCli/pull/725
- Show folder-mode discovery breadcrumb only at debug verbosity by @azchohfi in https://github.com/microsoft/winappCli/pull/730
- Cover NuGet and npm in Dependabot, and use the CodeQL security-extended suite by @azchohfi in https://github.com/microsoft/winappCli/pull/728
- Use -EncodedCommand for the elevated Developer Mode script by @azchohfi in https://github.com/microsoft/winappCli/pull/727
- Map the remaining winapp run options to MSBuild properties by @azchohfi in https://github.com/microsoft/winappCli/pull/731
- Fix flaky tree-kill test by retrying the PID file read by @azchohfi in https://github.com/microsoft/winappCli/pull/732
- @CarlosNihelton made their first contribution in https://github.com/microsoft/winappCli/pull/678
- @OssSecurityBot made their first contribution in https://github.com/microsoft/winappCli/pull/707
- @pictos made their first contribution in https://github.com/microsoft/winappCli/pull/610
winappclix64.msix for x64 or winappcliarm64.msix for ARM64
2. Double-click to install
3. Automatically added to PATH
Standalone CLI Binaries
1. Download winappcli-x64.zip for x64 or winappcli-arm64.zip for ARM64
2. Extract to your desired location
3. Add to PATH or run directly: winapp.exe
NPM Package (for Electron or NodeJS)
``bash
npm install microsoft-winappcli.tgz
``
What's Included
- MSIX installer packages (x64 and ARM64)
- Standalone CLI binaries (x64 and ARM64)
- NPM package for NodeJS/Electron integration
Installation
npm install @microsoft/winappcli --save-dev
winget install Microsoft.winappcli --source winget