diff --git a/website/docs/intro/install/examples/verify-installation.sh b/website/docs/intro/install/examples/verify-installation.sh new file mode 100644 index 0000000000..356a0a3398 --- /dev/null +++ b/website/docs/intro/install/examples/verify-installation.sh @@ -0,0 +1 @@ +tofu -version \ No newline at end of file diff --git a/website/docs/intro/install/homebrew.mdx b/website/docs/intro/install/homebrew.mdx index 05afb9719d..78cf2f2c14 100644 --- a/website/docs/intro/install/homebrew.mdx +++ b/website/docs/intro/install/homebrew.mdx @@ -7,9 +7,14 @@ description: |- import CodeBlock from '@theme/CodeBlock'; import BrewScript from '!!raw-loader!./examples/brew-install.sh' +import ValidateInstall from '!!raw-loader!./examples/verify-installation.sh' # Installing OpenTofu via Homebrew You can use OpenTofu as a [standalone binary](standalone.mdx) or you can install it using [Homebrew](https://formulae.brew.sh/formula/opentofu). OpenTofu is available in the Homebrew Core repository, so you can install it by running: {BrewScript} + +Validate the installation by running: + +{ValidateInstall}