Skip to content

vmware-tanzu/homebrew-tanzu

homebrew-tanzu

Homebrew tap for the Tanzu CLI

Installation

brew tap vmware-tanzu/tanzu  # Only needs to be done once for the machine

brew install tanzu-cli

To upgrade to a new release: brew update && brew upgrade tanzu-cli

To uninstall: brew uninstall tanzu-cli

Installing with Homebrew will automatically setup shell completion for bash, zsh and fish.

Installing a Specific Version

At the time of writing, Homebrew only officially supported installing the latest version of a formula, however the following workaround allows to install a specific version by first extracting it to a local tap:

brew tap-new local/tap
brew extract --version=1.0.0 vmware-tanzu/tanzu/tanzu-cli local/tap
brew install tanzu-cli@1.0.0

# To uninstall such an installation
brew uninstall tanzu-cli@1.0.0

Installing a Pre-Release

Pre-releases of the Tanzu CLI are made available to get early feedback before a new version is released. Pre-releases are available through Homebrew using a different package name: tanzu-cli-unstable.

Note: Just like installing a new version, installing a pre-release will replace the tanzu binary of any previous installation.

brew tap vmware-tanzu/tanzu  # If not already done on this machine

brew install tanzu-cli-unstable --overwrite

# To uninstall such an installation
brew uninstall tanzu-cli-unstable

About

Homebrew tap and formulas for installing the Tanzu CLI

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 14

Languages