labs command group

Note

This information applies to Databricks CLI versions 0.205 and above. The Databricks CLI is in Public Preview.

Databricks CLI use is subject to the Databricks License and Databricks Privacy Notice, including any Usage Data provisions.

The labs command group within the Databricks CLI enables you to work with available Databricks Labs applications.

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

Additional resources

For more information about available Databricks Labs applications, see the following: