Microsoft has introduced the general public preview of the Home windows App Growth CLI (winapp), a brand new open-source command-line software designed to simplify Home windows utility improvement throughout a number of frameworks and toolchains.
The software is now out there on GitHub for builders working outdoors conventional Visible Studio or MSBuild environments.
The winapp CLI targets builders utilizing cross-platform frameworks together with Electron, .NET, C++, Rust, and Dart.
The software eliminates complexity in accessing fashionable Home windows APIs reminiscent of Home windows AI APIs, security measures, and shell integrations immediately from any improvement toolchain.
Conventional Home windows improvement includes managing a number of SDKs, enhancing manifests, producing certificates, and navigating complicated packaging necessities.
The winapp CLI consolidates these duties right into a unified command-line interface, permitting builders to deal with constructing functions relatively than configuration administration.
Core Options and Capabilities
Setting Setup: The winapp init command automates workspace bootstrapping by downloading crucial SDK packages, producing C++/WinRT projections, and configuring initiatives with manifest creation, asset era, certificates setup, and dependency administration.
Bundle Identification for Debugging: Builders can add package deal identification to executables with winapp create-debug-identity, enabling fast testing of APIs requiring Bundle Identification with out full packaging and set up. This function is essential for testing Home windows AI APIs, Safety, Notifications, and MCP Hosts.
Manifest and Certificates Administration: The CLI automates appxmanifest.xml creation and improvement certificates setup. Instructions like winapp manifest update-assets generate picture belongings in appropriate facet ratios, whereas winapp cert generate creates self-signed improvement certificates for testing.
MSIX Packaging: The winapp pack command simplifies utility packaging by dealing with packing and signing processes to provide store-ready or sideload-ready MSIX packages.
Electron Integration: Accessible as an npm package deal, the CLI contains winapp node add-electron-debug-identity for injecting Bundle Identification into Electron processes, enabling seamless Home windows AI API integration via experimental NodeJS projections.
The winapp CLI is offered by way of WinGet (winget set up microsoft.winappcli) or npm (npm set up --save-dev @microsoft/winappcli) with documentation and framework-specific guides on the GitHub repository.
Comply with us on Google Information, LinkedIn, and X to Get Immediate Updates and Set GBH as a Most popular Supply in Google.

