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:
Install .NET Framework 4.6.2 Developer Pack.
If you don’t already have Visual Studio 2017 or later, follow one of these options:
Install Microsoft PowerApps CLI.
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:
- To find out where PowerApps CLI is installed, open a command prompt and type
- Delete the PowerAppsCLI folder.
- Open the Environment Variables tool by running the command
rundll32 sysdm.cpl,EditEnvironmentVariablesin the command prompt.
User variable for...section.
- Select the row containing the PowerAppsCLI path and select the Delete button on the right-hand side.
- Select OK twice.