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

account

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 Databricks user or 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

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

Databricks job operations.

libraries

Library operations.

metastores

Unity Catalog metastore operations.

model-registry

Model registry operations.

permissions

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

Databricks Repos operations.

schemas

Unity Catalog schema operations.

secrets

Databricks secrets operations.

service-principals

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 Databricks workspace.

table-constraints

Table constraint operations.

tables

Unity Catalog table operations.

token-management

Databricks personal access token management operations.

tokens

Databricks personal access token operations.

users

Databricks user operations.

version

Displays the Databricks CLI version.

volumes

Unity Catalog volume operations.

warehouses

Databricks SQL warehouse operations.

workspace

Databricks workspace operations for notebooks and folders.

workspace-bindings

Operations for Databricks workspace bindings for Unity Catalog catalogs.

workspace-conf

Databricks workspace settings configuration operations.