Skip to content

vmware/homebrew-vcfcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebrew-vcfcli

Homebrew tap for the VCF CLI

Installation

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

brew install vcf-cli

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

To uninstall: brew uninstall vcf-cli

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:

# Assuming that following the above mentioned commands, a latest version is installed, say v2.1.0.
# User needs to install an older version, say v1.1.0
brew tap-new local/tap
brew extract --version=1.1.0 vmware/homebrew-vcfcli/vcf-cli local/tap
brew install vcf-cli@1.1.0
brew unlink vcf-cli
brew link --overwrite vcf-cli@1.1.0

# To unlink older version and activate the latest version again
brew unlink vcf-cli@1.1.0
brew link --overwrite vcf-cli

# To unlink latest version and activate the any older version again
brew unlink vcf-cli
brew link --overwrite vcf-cli@1.1.0

Uninstalling a Specific Version

# To uninstall an old version, when it is currently linked/active
brew uninstall vcf-cli@1.1.0
brew link vcf-cli

# To uninstall an older version, when latest version is active
brew uninstall vcf-cli@1.1.0

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages