website/docs/intro/install/alpine.mdx
import CodeBlock from '@theme/CodeBlock'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import ApkConvenienceScript from '!!raw-loader!./examples/alpine-convenience.sh' import ApkManualScript from '!!raw-loader!./examples/alpine-manual.sh'
OpenTofu is available in the Alpine Linux testing repository or as an .apk package from the GitHub releases page.
You can use the OpenTofu installer script to run the installation.
<CodeBlock language="bash">{ApkConvenienceScript}</CodeBlock>
You can also download the .apk and install it on your Alpine Linux. You can install the .apk package after downloading it:
apk add --allow-untrusted tofu_*.apk
OpenTofu is currently available in the Alpine Testing repository and coming to Alpine stable. You can use the following commands to test Alpine installation.
<CodeBlock language="bash">{ApkManualScript}</CodeBlock>