Microsoft Store Developer CLI (preview)
The Microsoft Store Command Line Interface is a cross-platform (Windows, macOS, Linux) CLI that helps developers publish their applications to the Microsoft Store. It allows developers to locally configure their applications projects to publish to the Microsoft Store, as well as actually publish their applications' packages to the Microsoft Store, automatically calling the right Partner Center APIs to upload its packages.
Important
The Microsoft Store Developer CLI is currently in preview, and we are looking for feedback from developers. Please open an issue if you have any feedback or issues.
Prerequisites
To use the Microsoft Store Developer CLI, you'll need to:
- Register as a Windows app developer in Partner Center
- Have a tenant associated with your Partner Center account. You can achieve that by either associating an existing Azure AD in Partner Center or by creating a new Azure AD in Partner Center.
Installation
The Microsoft Store Developer CLI (preview) supports Windows 10+, Linux, and macOS:
Install the Microsoft Store Developer CLI (preview) now!
Getting Started
After installing the Microsoft Store Developer CLI, you have to configure your environment to be able to run commands. You can do this by simply running the CLI for the first time. The CLI will guide you through the configuration process:
msstore
Important
When signing in, don't use your MSA! The Microsoft Store Developer CLI requires you to use your Azure AD credentials. You can find more information about this in our prerequisites section.
Running in CI environments is also supported, and the Microsoft Store Developer CLI (preview) can be used in your CI/CD pipelines to, for example, automatically publish your applications to the Microsoft Store. More instructions on how to do this can be found here.
Commands
These are the Microsoft Store Developer CLI (preview) available commands:
Command | Description |
---|---|
info | Print existing configuration. |
reconfigure | Re-configure the Microsoft Store Developer CLI. |
settings | Change settings of the Microsoft Store Developer CLI. |
apps | Application related commands, such as listing the applications in your account and retrieving the application's details. |
submission | Submission related commands, such as 'status', 'get', 'getListingAssets', 'updateMetadata', 'update', 'poll', 'publish', 'delete'. |
init | Helps you setup your application to publish to the Microsoft Store. |
package | Helps you package your Microsoft Store Application as an MSIX. |
publish | Publishes your application to the Microsoft Store. |
Windows developer