| title | Install the DAB CLI |
|---|---|
| description | Get started using the Data API builder (DAB) to generate APIs by installing the command-line interface (CLI). |
| author | seesharprun |
| ms.author | sidandrews |
| ms.reviewer | jerrynixon |
| ms.service | data-api-builder |
| ms.topic | how-to |
| ms.date | 06/11/2025 |
In this guide, you go through the steps to install the Data API builder (DAB) command-line interface (CLI) on your local machine. You can then use the CLI to perform the most common actions with DAB. The CLI is distributed as a .NET tool.
[!INCLUDEInstall CLI]
Installing the .NET tool makes the dab command available on your local machine.
-
Use the
--versionargument to determine the version of your current installation.dab --version[!IMPORTANT] If you are running on Linux or macOS, you could see an error when invoking
dabdirectly. To resolve this error, add the .NET global tools to yourPATH. For more information, see troubleshooting Data API builder installation. -
Observe the output of the previous command. Assuming the current version of the DAB CLI is
1.0.0, the command would output would include the following content.Microsoft.DataApiBuilder 1.0.0