Get started
Terraform ships as a single binary file. The examples below include installation information for popular operating systems.
For official instructions on installing Terraform, refer to Install Terraform ↗.
The easiest way to install Terraform on macOS is with Homebrew.
brew tap hashicorp/tapbrew install hashicorp/tap/terraformYou can install the terraform binary via your distribution's package manager. For example:
sudo apt install terraformAlternatively, you can fetch a specific version directly and place the binary in your PATH:
wget -q https://releases.hashicorp.com/terraform/1.4.5/terraform_1.4.5_linux_amd64.zip
unzip terraform_1.4.5_linux_amd64.zipArchive:  terraform_1.4.5_linux_amd64.zip  inflating: terraformsudo mv terraform /usr/local/bin/terraform
terraform versionTerraform v1.4.5- Download the 32 or 64-bit executable from the Download Terraform ↗ page.
 - Unzip and place 
terraform.exesomewhere in your path. 
For additional installers, refer to the Download Terraform ↗ page.
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Directory
 - Sponsorships
 - Open Source
 
- Support
 - Help Center
 - System Status
 - Compliance
 - GDPR
 
- Company
 - cloudflare.com
 - Our team
 - Careers
 
- © 2025 Cloudflare, Inc.
 - Privacy Policy
 - Terms of Use
 - Report Security Issues
 - Trademark