Cloudflare 中文文档
Terraform
编辑这个页面
跳转官方原文档
Set theme to dark (⇧+D)

Install Terraform

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.

​​ Mac

The easiest way to install Terraform on macOS is with Homebrew.

​​ Linux

You can install the terraform binary via your distribution’s package manager. For example:

Alternatively, you can fetch a specific version directly and place the binary in your PATH:

​​ Windows

  1. Download the 32 or 64-bit executable from the Download Terraform page.
  2. Unzip and place terraform.exe somewhere in your path.

​​ Other

For additional installers, refer to the Download Terraform page.