Install the Power BI CLI
The Power BI CLI is available to install in Windows, macOS and Linux environments.
The current version of the Power BI CLI is 1.3.2. For information about the latest release, see the release notes. To find your installed version and see if you need to update, run pbicli --version
.
Prerequisites
As the Power BI CLI is using NodeJS you need to download and install the latest LTS version of NodeJS.
- Navigate to https://nodejs.org/en/download/
Windows:
- Download the correct installation package (Windows/MacOS) or
- Install the downloaded package
Linux:
- Download and install via a package manager: https://nodejs.org/en/download/package-manager/
Install
After installing NodeJS follow these steps to install the Power BI CLI
- Open a terminal window (Cmd/PowerShell/bash/...)
- Run the command
npm i -g @powerbi-cli/powerbi-cli
to install the latest version.
Azure CLI (optional)
The Power BI CLI can use the autorisation flow of Azure CLI. To install the Azure CLI see the documentation: Install the Azure CLI
Next steps
See What is Power BI CLI for the key characteristics.