Back to Opentofu

Installing OpenTofu via Homebrew

website/docs/intro/install/homebrew.mdx

1.11.6608 B
Original Source

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 or you can install it using Homebrew. OpenTofu is available in the Homebrew Core repository, so you can install it by running:

<CodeBlock language={"bash"}>{BrewScript}</CodeBlock>

Validate the installation by running:

<CodeBlock language={"bash"}>{ValidateInstall}</CodeBlock>