DataTF is a single binary. It needs no Go toolchain and no administrator access.
macOS and Linux:
curl -fsSL https://datatf.io/install.sh | shWindows PowerShell:
irm https://datatf.io/install.ps1 | iexThe scripts download the latest GitHub release, verify its SHA-256 checksum, and install one
binary. Set DATATF_VERSION to pin a release, such as 1.0.2. The sources live in
install.
macOS and Linux install into ~/.local/bin. Set DATATF_INSTALL_DIR to select a different
directory. When the script reports that the directory is not on your PATH, add it:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc
exec zshWindows installs into %LOCALAPPDATA%\datatf\bin and adds that directory to your user PATH.
Open a new terminal after the first install.
DataTF binaries are not signed with an Apple Developer ID. macOS marks files downloaded through a browser, so an archive from the Releases page or the website carries the quarantine flag. The first run then reports that Apple cannot verify the developer.
The installer script above avoids this, because curl does not set the quarantine flag.
To use a browser download, remove the flag after you extract the archive:
xattr -d com.apple.quarantine ./datatfYou can also open the containing folder in Finder, hold Control, click datatf, and select Open.
Confirm the dialog once. macOS then permits later runs.
- Open GitHub Releases.
- Download the archive for your operating system and processor. Releases include macOS, Linux, and Windows builds for AMD64 and ARM64.
- Compare the archive's SHA-256 checksum with the value in
checksums.txtfrom the same release. - Extract the archive.
- On macOS, remove the quarantine flag. See macOS Gatekeeper.
- Put
datatfon yourPATH. - Run
datatf versionto check the installation.
Download the Windows AMD64 ZIP for an Intel or AMD computer. Use the ARM64 ZIP for a Windows ARM computer. Select Extract All, then open PowerShell in the extracted folder:
.\datatf.exe version
.\datatf.exe auth status --profile analytics
.\datatf.exe export --profile analytics --scaffoldReplace analytics with your saved Databricks profile.
Add the folder to your user PATH to run datatf from any folder.
DataTF writes Terraform files. It does not run Terraform.
Install Terraform only when you are ready to
validate and import the generated files. The generated root declares its own required version.
Run terraform version to compare your installation with that requirement.
OpenTofu also works. See the OpenTofu example.
Read Contributing for the source build, the tests, and the release tags.
Interactive commands check GitHub Releases for a newer stable release.
Read the upgrade instructions for the steps, the check behavior, and
DATATF_NO_UPDATE_NOTIFIER.