Microsoft Power Platform CLI Command Groups

Command Group Description
pac admin Work with your Power Platform Admin Account
pac application Commands for listing and installing available Dataverse applications from AppSource
pac auth Manage how you authenticate to various services
pac canvas Operating with Power Apps .msapp files
pac catalog Commands for working with Catalog in Power Platform
pac connection Commands for working with Dataverse connection.
pac connector Commands for working with Power Platform Connectors
pac copilot Tools and utilities for copilot scenarios
pac data Import and export data from Dataverse.
pac help Show help for the Microsoft Power Platform CLI.
pac modelbuilder Code Generator for Dataverse APIs and Tables
pac org Work with your Dataverse organization.
pac package Commands for working with Dataverse package projects
pac pcf Commands for working with Power Apps component framework projects
pac pipeline Work with Pipelines
pac plugin Commands for working with Dataverse plug-in class library
pac power-fx (Preview) Commands for working with Power Fx
pac powerpages Commands for working with Power Pages website.
pac solution Commands for working with Dataverse solution projects
pac telemetry Manage telemetry settings.
pac test (Preview) Execution of automated tests for a Power App
pac tool Power Platform tools that can be installed and launched.
pac virtual-agent Commands for working with Power Virtual Agent bots

Enable tab completion in PowerShell

Power Platform CLI has a pac complete command similar to the .NET CLI complete command.

When configured using the instructions below, you can type just the beginning of a command and then use the Tab key to complete the input entered.

To add tab completion to PowerShell for the PAC CLI, create or edit the profile stored in the variable $PROFILE. For more information, see How to create your profile and Profiles and execution policy.

Add the following code to your profile:

$scriptblock = {
    param($wordToComplete, $commandAst, $cursorPosition)

    &pac complete -s "$($commandAst.ToString())" | ForEach-Object {
        [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_)

Register-ArgumentCompleter -Native -CommandName pac -ScriptBlock $scriptblock

Other Shells

You can also use this with bash, zsh, fish, and nushell. Instead of dotnet complete use pac complete

See also

Microsoft Power Platform CLI overview