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 of the Databricks CLI. This information supplements the command line help.

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 Azure 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
account Azure Databricks account operations.
alerts Databricks SQL alerts operations.
api 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.
auth Manage Databricks CLI authentication settings.
bundle Databricks Asset Bundle operations.
catalogs Unity Catalog catalog operations.
clean-rooms Clean room operations.
cluster-policies Cluster policy operations.
clusters Cluster operations.
completion Enable Databricks CLI autocompletion.
configure Manage Databricks CLI configuration.
current-user Get information about the current authenticated Azure Databricks user or Azure Databricks service principal.
dashboards Dashboard operations.
data-sources List data source connection information for available Databricks SQL warehouses.
experiments MLflow experiment operations.
external-locations Unity Catalog external location operations.
fs Databricks File System (DBFS) operations.
functions Unity Catalog user-defined function (UDF) operations.
git-credentials Git credentials operations.
global-init-scripts Global init scripts operations.
grants Unity Catalog access grant operations.
groups Azure Databricks workspace group operations.
help Display help for the Databricks CLI or the related command group or the related command.
instance-pools Instance pool operations.
instance-profiles Instance profile operations.
ip-access-lists IP access list operations.
jobs Azure Databricks job operations.
labs Databricks Labs operations.
libraries Library operations.
metastores Unity Catalog metastore operations.
model-registry Model registry operations.
permissions Azure Databricks object and endpoint permission operations.
pipelines Delta Live Tables pipeline operations.
policy-families Cluster policy family operations.
providers Delta Sharing provider operations.
queries Databricks SQL query operations.
query-history Databricks SQL query history operations.
recipient-activation Delta Sharing receipient activation operations.
recipients Delta Sharing recipient operations.
repos Azure Databricks Databricks Git folder operations.
schemas Unity Catalog schema operations.
secrets Azure Databricks secrets operations.
service-principals Azure Databricks service principal operations.
serving-endpoints Model serving endpoint operations.
shares Delta Sharing share operations.
storage-credentials Unity Catalog storage credential operations.
sync Perform one-way synchronization of file changes within a local filesystem directory to a directory within a remote Azure Databricks workspace.
table-constraints Table constraint operations.
tables Unity Catalog table operations.
token-management Azure Databricks personal access token management operations.
tokens Azure Databricks personal access token operations.
users Azure Databricks user operations.
version Displays the Databricks CLI version.
volumes Unity Catalog volume operations.
warehouses Databricks SQL warehouse operations.
workspace Azure Databricks workspace operations for notebooks and folders.
workspace-bindings Operations for Azure Databricks workspace bindings for Unity Catalog catalogs.
workspace-conf Azure Databricks workspace settings configuration operations.