Databricks CLI commands
Note
This information applies to Databricks CLI versions 0.205 and above, which are in Public Preview. To find your version of the Databricks CLI, run databricks -v
.
This article provides links to information about available commands and command groups that are included in the Databricks CLI. This information supplements the Databricks CLI Command Reference.
This article assumes that you have already installed the Databricks CLI. See Install or update the Databricks CLI. For more information about the Databricks CLI, see What is the Databricks CLI?.
The Databricks CLI includes the command groups listed in the following table. Command groups contain sets of related commands.
Help for these command groups and their commands is included within the Databricks CLI:
To display help for a command group and a list of the command group’s commands, run
databricks <command-group> -h
.To display help for a command, run
databricks <command-group> <command-name> -h
.
Most CLI commands map to operations that are documented in the Databricks REST API reference. CLI command groups that are not documented in the REST API reference have their own separate reference articles, which are linked in the following table:
Command group |
Area |
---|---|
|
Databricks account operations. |
|
Databricks SQL alerts operations. |
Manage Databricks CLI authentication settings. |
|
Databricks Asset Bundle operations. |
|
|
Unity Catalog catalog operations. |
|
Clean room operations. |
|
Cluster policy operations. |
|
Cluster operations. |
Enable Databricks CLI autocompletion. |
|
Manage Databricks CLI configuration. |
|
|
Get information about the current authenticated Databricks user or Databricks service principal. |
|
Dashboard operations. |
|
List data source connection information for available Databricks SQL warhouses. |
|
MLflow experiment operations. |
|
Unity Catalog external location operations. |
Databricks File System (DBFS) operations. |
|
|
Unity Catalog user-defined function (UDF) operations. |
|
Git credentials operations. |
|
Global init scripts operations. |
|
Unity Catalog access grant operations. |
|
Databricks workspace group operations. |
|
Display help for the Databricks CLI or the related command group or the related command. |
|
Instance pool operations. |
|
Instance profile operations. |
|
IP access list operations. |
|
Databricks job operations. |
|
Library operations. |
|
Unity Catalog metastore operations. |
|
Model registry operations. |
|
Databricks object and endpoint permission operations. |
|
Delta Live Tables pipeline operations. |
|
Cluster policy family operations. |
|
Delta Sharing provider operations. |
|
Databricks SQL query operations. |
|
Databricks SQL query history operations. |
|
Delta Sharing receipient activation operations. |
|
Delta Sharing recipient operations. |
|
Databricks Repos operations. |
|
Unity Catalog schema operations. |
|
Databricks secrets operations. |
|
Databricks service principal operations. |
|
Model serving endpoint operations. |
|
Delta Sharing share operations. |
|
Unity Catalog storage credential operations. |
Perform one-way synchronization of file changes within a local filesystem directory to a directory within a remote Databricks workspace. |
|
|
Table constraint operations. |
|
Unity Catalog table operations. |
|
Databricks personal access token management operations. |
|
Databricks personal access token operations. |
|
Databricks user operations. |
|
Displays the Databricks CLI version. |
|
Unity Catalog volume operations. |
|
Databricks SQL warehouse operations. |
|
Databricks workspace operations for notebooks and folders. |
|
Operations for Databricks workspace bindings for Unity Catalog catalogs. |
|
Databricks workspace settings configuration operations. |
Call any available Databricks REST API endpoint. You should use this command group only for advanced scenarios such as preview releases of specific Databricks REST APIs for which the Databricks CLI does not already wrap the target Databricks REST API within a related command. |