labs
command group
Note
This information applies to Databricks CLI 0.210.0 and above, which are in Public Preview. To find your version of the Databricks CLI, run databricks -v
.
The labs
command group within the Databricks CLI enables you to work with available Databricks Labs applications.
Important
To install the Databricks CLI, see Install or update the Databricks CLI. To configure authentication for the Databricks CLI, see Authentication for the Databricks CLI.
You run labs
commands by appending them to databricks labs
. To display help for the labs
command group, run databricks labs -h
.
List all available Databricks Labs applications
To show a list of all Databricks Labs applications that are available for installation on your local development machine, run the labs list
command, as follows:
databricks labs list
List all installed Databricks Labs applications
To show a list of all Databricks Labs applications that were installed on your local development machine by running the Databricks CLI, run the labs installed
command, as follows:
databricks labs installed
Install a Databricks Labs application
To install an available Databricks Labs application, run the labs install
command, followed by the application’s programmatic name, as follows:
databricks labs install <application-name>
Show information about an installed Databricks Labs application
To show information about a Databricks Labs application that you installed on your local development machine by running the Databricks CLI, run the labs show
command, followed by the application’s programmatic name, as follows:
databricks labs show <application-name>
Upgrade an installed Databricks Labs application
To upgrade a Databricks Labs application that you installed by running the Databricks CLI, run the labs upgrade
command, followed by the application’s programmatic name, as follows:
databricks labs upgrade <application-name>
Uninstall a Databricks Labs project
To uninstall a Databricks Labs application that you installed by running the Databricks CLI, run the labs uninstall
command, followed by the application’s programmatic name, as follows:
databricks labs uninstall <application-name>
Clear Databricks Labs cache entries
To clear cache entries for Databricks Labs from all relevant locations, run the labs clear-cache
command, as follows:
databricks labs clear-cache