website/docs/intro/install/standalone.mdx
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import CodeBlock from '@theme/CodeBlock'; import LinuxScript from '!!raw-loader!./examples/standalone-install.sh' import WindowsScript from '!!raw-loader!./examples/standalone-install.ps1' import VerifyChecksumPS1 from '!!raw-loader!./examples/verify-checksum.ps1' import VerifyChecksumLinux from '!!raw-loader!./examples/verify-checksum-linux.sh' import VerifyChecksumMacOS from '!!raw-loader!./examples/verify-checksum-macos.sh' import VerifyCosignLinux from '!!raw-loader!./examples/verify-cosign.sh' import VerifyCosignWindows from '!!raw-loader!./examples/verify-cosign.ps1' import Admonition from '@theme/Admonition';
You can run OpenTofu without installation as a standalone binary. You can download the latest release for your operating system from the GitHub releases page, unpack the zip and start using it. For easier updates, we recommend using the non-portable packaged versions for your operating system.
Please download the tofu_YOURVERSION_SHA256SUMS file from the release. This file contains the SHA256 checksums for all files. You can verify the integrity of your file by running:
After you have verified the checksums, you can verify the integrity of the checksum file itself with Cosign. Please make sure you have installed Cosign and download the tofu_YOURVERSION_SHA256SUMS.pem and tofu_YOURVERSION_SHA256SUMS.sig files for your release. You can then run the integrity verification: