Databricks CLI commands
Databricks CLI use is subject to the Databricks License and Databricks Privacy Notice, including any Usage Data provisions.
This article provides information about available Databricks CLI commands. This information supplements the command line help. For more information about installing and using the Databricks CLI, see Install or update the Databricks CLI and Databricks CLI.
The Databricks CLI includes the command groups listed in the following tables. Command groups contain sets of related commands, which can also contain subcommands. To output usage and syntax information for a command group, an individual command, or subcommand:
databricks <command-group> -hdatabricks <command-group> <command-name> -hdatabricks <command-group> <command-name> <subcommand-name> -h
Many CLI commands map to operations that are documented in the Databricks REST API reference.
Workspace commands
Group | Description and commands |
|---|---|
Commands for managing files and the file system:
| |
Commands for registering personal access tokens for Databricks to do operations on behalf of the user:
| |
Commands for allowing users to manage their git repos:
| |
Commands for managing secrets, secret scopes, and access permissions:
| |
Commands to list, import, export, and delete notebooks and folders in the workspace:
|
Compute commands
Group | Description and commands |
|---|---|
Commands to control users' ability to configure clusters based on a set of rules:
| |
Commands that allow you to create, start, edit, list, terminate, and delete clusters:
|