- Export your customerconnect.vmware.com credentials as
VCC_USER
andVCC_PASS
- (optional) Specify the Tanzu CLI version with
TANZU_VERSION
, defaults to latest. - (optional) Specify Tanzu CLI directory with $TANZU_DIR. Defaults to $HOME/tanzu.
This one-liner can be used to upgrade and downgrade the Tanzu CLI. The only consideration is that during downgrades you will need to remove the contents of the $HOME/.config/tanzu
directory, as the CLI will not handle downgrading of the content.