Databricks CLI

 Databricks CLI

Install or update the Databricks CLI

Open Command Prompt -> enter the following commands one by one

winget search databricks
winget install Databricks.DatabricksCLI



To check the version of databricks
databricks -v


Authentication for the Databricks CLI

In cmd prompt, enter following commands in the path C:\Users\username>

databricks auth login --host https://adb-123456test.azuredatabricks.net/  ==> To Authenticate. It asks for profile name, enter a profile name and hit Enter

databricks auth profiles  ==> To display the profile created

C:\Users\username>notepad.exe C:\Users\username\.databrickscfg ==> To display the profile created in notepad

databricks --help   ==> To display help details

databricks catalogs list ==> To display the list of catalogs




Comments