Merge pull request #12358 from soapy1/update-brew-install-instructions

Add package manager override for brew install instructions
This commit is contained in:
Sophia Castellarin 2021-06-11 13:09:12 -05:00 committed by GitHub
commit 2dc846f9a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,6 +46,24 @@ export default function DownloadsPage(staticProps) {
<a>&raquo; Download VMware Utility</a>
</Link>
}
packageManagerOverrides={[
{
label: 'Homebrew',
commands: [
`brew tap hashicorp/tap`,
`brew install ${productSlug}`,
],
os: 'darwin',
},
{
label: 'Homebrew',
commands: [
`brew tap hashicorp/tap`,
`brew install ${productSlug}`,
],
os: 'linux',
},
]}
{...staticProps}
/>
)