If you’re a Windows developer who’s ever groaned at the setup grind before writing a single line of actual app code, Microsoft just made your life noticeably easier. The company shipped version 0.6 of its Windows App CLI, and this update is packed with quality-of-life upgrades that shave real time off the “zero to running app” journey.
Announced on August 14th by Software Engineer II Zachary Teutsch, the release leans hard into speed and automation. You can now spin up a brand-new WinUI 3 app with a single command, search for real working UI code without leaving your terminal, and run your app straight from a .csproj file with zero manual build steps. Toss in cloud-based signing and a smarter packaging workflow, and this is shaping up to be one of the more useful CLI drops of the year for Windows app devs.
Here’s the rundown of what’s new and why it matters.
Scaffold a New App in Seconds With winapp new
The headline feature is easily winapp new, a command that spins up a full WinUI 3 app straight from the official Windows App SDK dotnet new templates. It automatically installs or updates the template pack for you, so there’s no more hunting around for the right NuGet package or workload before you can get started.
# See every template available in your installed pack
winapp new --list
# Create a blank WinUI 3 app (the default template)
winapp new --name MyApp
# Start from a richer template, such as a NavigationView or MVVM app
winapp new --name MyApp --template winui-navview
winapp new --name MyApp --template winui-mvvm
It's interactive by default, meaning you pick a template and name your app right from the terminal, but it also plays nice with CI pipelines by falling back to sensible defaults in non-interactive shells. Available templates include a blank WinUI app, a NavigationView starter, a TabView layout, an MVVM starter kit, a class library, and a packaged unit-test app. Since the template list is pulled live from your installed pack, running winapp new --list always shows you exactly what you have access to.

Find Real WinUI Code Without Leaving the Terminal with winapp find-ui
# Search by intent, returning matching controls with scenario ids
winapp find-ui "tabbed layout"
# Narrow to a single source
winapp find-ui "settings card" --source toolkit
# Pull the full XAML + C# for a specific scenario
winapp find-ui --id gallery-tabview-1
Ever known exactly what control you wanted but had no idea how to actually wire it up? winapp find-ui solves that by searching working samples from the WinUI 3 Gallery and the Windows Community Toolkit, then handing you copy-paste-ready XAML and C#. The workflow is a two-step process: search by intent to get scenario IDs, then pull the full code with a specific --id. There's even an opt-in third source, ReactorGallery, for anyone building MVU-style apps.

Run Your App Straight From a .csproj
# Build and run the project in the current directory (like dotnet run)
winapp run
# Or point at a specific project
winapp run .\src\MyApp\MyApp.csproj
# Pick a configuration/runtime and pass MSBuild properties through
winapp run . -c Release -r win-arm64 -p WindowsPackageType=None
This one's a genuine time-saver. winapp run now has a project mode that points directly at a .csproj, .sln, or .slnx file, builds it, and launches it with full package identity, no separate dotnet build step required. It works for both packaged and unpackaged WinUI apps and automatically detects which mode to use. Familiar MSBuild flags like -c, -r, -f, and --arch all carry over, so the learning curve here is basically zero if you're already comfortable with MSBuild.

Cloud Signing with winapp az-sign and Sparse Packaging
Security-conscious teams will appreciate winapp az-sign, a new command that signs EXEs, MSIX files, and MSIX bundles using Azure Trusted Signing. Since it's cloud-managed, no private signing key ever has to sit on a local machine, and it plugs straight into CI setups using Azure login, OIDC, or managed identity.
# Interactive: discover and select subscription, account, and profile
winapp az-sign .\app.msix
# Fully specified, no prompting (ideal for CI/CD)
winapp az-sign .\app.msix --subscription --resource-group --account --profile
# Reuse an existing metadata.json (skips resource discovery)
winapp az-sign .\app.msix --metadata-file .\metadata.json

There's also a full sparse packaging workflow now, letting existing desktop apps tap into notification and background task APIs without needing a full MSIX conversion. It's a three-step process across winapp init --sparse, winapp pack, and winapp embed-identity.
# 1. Generate an identity-only sparse manifest for an existing exe (no SDK install)
winapp init --exe .\bin\Release\net8.0-windows\MyApp.exe --sparse --use-defaults
# 2. Pack the sparse manifest into an identity-only .msix
winapp pack .\sparse\appxmanifest.xml
# 3. Link the exe to its sparse identity package
winapp embed-identity .\bin\Release\net8.0-windows\MyApp.exe

Other Changes Worth Knowing About
The update also brings agent-readable UI recordings for AI-driven testing, a sample showing native WinUI 3 running from Node.js, and a unified GitHub Copilot/Claude Code plugin. On the maintenance side, Microsoft fixed MSIX bundle versioning bugs, backfilled documentation, and locked down its GitHub Actions pipeline with full-length commit SHAs and CodeQL's security-extended suite.
How to Get Windows App CLI v0.6
The CLI is in public preview now. Grab it with:
winget install microsoft.winappcli
or via npm:
npm install --save-dev @microsoft/winappcli
Microsoft is actively soliciting feedback through GitHub issues, so if you hit a snag or have a feature request, that's the place to flag it.
Get started with the Windows App Development CLI
Discover more from Microsoft News Now
Subscribe to get the latest posts sent to your email.