During Microsoft Build 2021, there was an announcement on more dev-focused tools for Power Platform. The first bits of Power Platform CLI have now landed, so I wanted to take a look what they capable of.
Installation is easy, but perhaps slightly old-fashioned. Download the setup package (a regular MSI) at https://aka.ms/PowerAppsCLI. The installation hung up on me, so I restarted it once to complete the Nuget package deployments.
Before actually doing anything, let’s update the package. Yes, you downloaded the latest bits, but it never hurts to update them. You can use Visual Studio’s Developer Command Prompt or a regular command prompt, as both recognize the install directory of the tool in %PATH%. The tool is installed in %USERPROFILE%\AppData\Local\Microsoft\PowerAppsCLI.
Now that we definitely have the latest bits, let’s try the tool. The magic command is pac for everything. Try running just pac: