Install the Databricks CLI¶
We will install the current Databricks CLI, verify it, and clone this
repository. This tutorial uses the modern Go-based CLI, not the legacy Python
package named databricks-cli.
Install the CLI¶
In a macOS terminal, install the official Homebrew formula directly from the Databricks tap:
Homebrew should finish with a successful installation summary and no error. This is one of the installation methods in the official Databricks CLI installation guide.
Check the version¶
Run:
You should see a modern CLI version, for example:
The exact current version can be newer. A version beginning with v1. confirms
that this tutorial's CLI is installed.
Clone the repository¶
Move to a directory where you keep source code, then clone and enter the project:
Confirm that you are at the bundle root:
The command should print a path ending in /bricks-cli. You now have both the
bundle definition and the dbt project in your working directory.