Add package manager override for brew install instructions

ref:
https://github.com/hashicorp/homebrew-tap#what-packages-are-available
This commit is contained in:
sophia 2021-05-10 12:02:30 -05:00
parent b8d0e71fa2
commit 9ec665a5dc

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}
/>
)