GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing developer.hashicorp.com — Install Terraform | Terraform | HashiCorp Developer Terraform lets you safely and consistently manage your infrastructure as code across multiple cloud providers. To provision infrastructure with Terraform, you will write configuration in Terraform's configuration language, configure your cloud provider credentials, and apply your configuration with the Terraform Command Line Interface (CLI). To use Terraform, you first need to install it. HashiCorp distributes Terraform as a binary package. You can also install Terraform using popular package managers. Install TerraformHashiCorp distributes Terraform as an executable CLI that you can install on supported operating systems, including Microsoft Windows, macOS, and several Linux distributions. You can also compile the Terraform CLI from source if a pre-compiled binary is not available for your system. If you use a package manager to install software on your macOS, Windows, or Linux system, you can use it to install Terraform. Homebrew is a free and open-source package management system for macOS. If you have Homebrew installed, use it to install Terraform from your command line. First, install the HashiCorp tap, which is Hashicorp's official repository of all our Homebrew packages. Now, install Terraform from Chocolatey is a free and open-source package management system for Windows. If you have Chocolatey installed, use it to install Terraform from your command line. Note HashiCorp does not maintain Chocolatey or the Terraform package. The latest version of Terraform is always available for you to download and install manually. Refer to the Manual installation tab below for instructions. HashiCorp maintains and signs packages for the following Linux distributions. Use the built-in package management system for your Linux distribution to install Terraform. Ensure that your system is up to date and that you have installed the Install HashiCorp's GPG key. Verify the GPG key's fingerprint. The Add the official HashiCorp repository to your system. Update apt to download the package information from the HashiCorp repository. Install Terraform from the new repository. Install Use Install Terraform from the new repository. Install Use Install Terraform from the new repository. Install Use Install Terraform from the new repository. Install Use Install Terraform from the new repository. Other Linux distributions may have pre-built Terraform packages available. Refer to your package manager's documentation, or follow the steps above for Manual installation. Install the To install Terraform, download the appropriate zip archive for your system and unzip it. Terraform runs as a single executable named To compile the Terraform executable from source, first clone the HashiCorp Terraform repository. Navigate to the new directory. Next, compile the binary. The following command compiles the binary and stores
it in Finally, make sure that the Print out a colon-separated list of locations in your Move the Terraform executable to one of the listed locations. This command
assumes that the executable is currently in your downloads folder and that your
For more detail about adding Terraform to your path, refer to your operating system's documentation. Print out a semicolon-separated list of locations in your Move the Terraform executable to one of the listed locations. For more details about adding binaries to your path, refer to the documentation for Windows. Terraform versions and compatibilityHashiCorp regularly releases new versions of Terraform with new features and bug fixes. HashiCorp maintains compatibility between Terraform versions, so a Terraform configuration written for one version of Terraform should continue to work with any later minor version update. Refer to the Terraform compatibility promise for more details. Verify the InstallationVerify that the installation worked by opening a new terminal session and listing Terraform's available subcommands. Add Enable tab completionIf you use either Bash or Zsh as your command line shell, you can enable tab completion for Terraform commands. To enable autocomplete, first ensure that a configuration file exists for your chosen shell. Then install the autocomplete package. After installing autocomplete support, you will need to restart your shell to enable it. Next stepsNow that you have installed Terraform, you can use it to create and manage infrastructure with the cloud provider of your choice. Get started with one of the following providers: This tutorial also appears in: |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |