Skip to content

databricks/homebrew-tap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

183 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebrew-tap

Easily install the Databricks CLI using Homebrew.

Full documentation about installation can be found at:

Usage

Add the tap and trust it:

brew tap databricks/tap
brew trust databricks/tap

brew trust databricks/tap is required as of Homebrew 6.0.0, which requires third-party taps to be trusted before Homebrew will load their formulae. Existing users who tapped before upgrading to Homebrew 6.0.0 need to run it once as well.

To install or upgrade the Databricks CLI, run:

brew install databricks

(You can also install in a single step without trusting the whole tap with brew install databricks/tap/databricks.)

If this tap has been updated but you don't see it show up locally, you can force an update with:

brew update --force

Installing an older version

If you need to install an older version of the Databricks CLI, you can do so with:

brew tap-new databricks/tap-old
brew extract --version=0.218.0 databricks/tap/databricks databricks/tap-old
brew trust databricks/tap-old
brew install databricks@0.218.0

# Unlink the latest version (if it's already installed)
brew unlink databricks

# Link the older version
brew link databricks@0.218.0

To revert back to the latest version, you can unlink the older version and link the latest version:

# Unlink the older version
brew unlink databricks@0.218.0

# Link the latest version
brew link databricks

You can clean up older versions with:

# Display all installed versions
brew list --versions databricks

# Uninstall an older version
brew uninstall databricks@0.218.0

You can clean up the tap with older versions with:

brew untap databricks/tap-old

Shell completion

As long as you have configured shell completion for Homebrew itself, shell completion for the Databricks CLI will work out of the box.

You can find documentation for setting this up at https://docs.brew.sh/Shell-Completion.

About

Homebrew Tap for the Databricks CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages