Get tooling for PowerApps component framework

Use Microsoft PowerApps CLI (command-line interface) to create, debug, and deploy code components using PowerApps component framework. PowerApps CLI enables developers to create code components quickly. In the future it will be expanded to include support for additional development and application lifecycle management (ALM) experiences.

What is Microsoft PowerApps CLI

Microsoft PowerApps CLI is a simple, single-stop developer command-line interface that empowers the developers and app makers to create code components. PowerApps CLI tooling is the first step toward a comprehensive ALM story where the enterprise developers and ISVs can create, build, debug, and publish their extensions and customizations quickly and efficiently.

Install Microsoft PowerApps CLI

To get Microsoft PowerApps CLI, do the following:

  1. Install Npm (comes with Node.js) or Node.js (comes with npm). We recommend LTS (Long Term Support) version 10.15.3 or higher.

  2. Install .NET Framework 4.6.2 Developer Pack.

  3. If you don’t already have Visual Studio 2017 or later, follow one of these options:

  4. Install Microsoft PowerApps CLI.

  5. To take advantage of all the latest capabilities, update the PowerApps CLI tooling to the latest version using this command:

    pac install latest


  • To deploy your code component using PowerApps CLI, you must have a Common Data Service environment with system administrator or system customizer privileges.
  • Currently, PowerApps CLI is supported only on Windows 10.

Microsoft PowerApps CLI telemetry

The feature team is aggregating the telemetry to understand what features or capabilities developers most often use in the PowerApps CLI tool. The aggregated data allows us to provide the best experience to the customers by focusing on what is essential.


To disable the telemetry collection, run the command pac telemetry disable. To turn the telemetry back, use the command pac telemetry enable.

Uninstall Microsoft PowerApps CLI

To uninstall the PowerApps CLI tooling, run the MSI from here.

If you are a Private Preview participant and have an older version of CLI, follow these steps:

  1. To find out where PowerApps CLI is installed, open a command prompt and type where pac.
  2. Delete the PowerAppsCLI folder.
  3. Open the Environment Variables tool by running the command rundll32 sysdm.cpl,EditEnvironmentVariables in the command prompt.
  4. Double-click Path under the User variable for... section.
  5. Select the row containing the PowerAppsCLI path and select the Delete button on the right-hand side.
  6. Select OK twice.

See also

Implement components using TypeScript