to install terraform on both Windows & Mac. You can verify the installation using terraform -helpĬommand line installation is the way to go! In order to install terraform, run the command below (which falls in line with Choco). Run the command below from the terminal in case you are new to Mac and don’t have HomeBrew installed. Most of the Mac users should have Brew already installed, as they are more into command line! Similar to Windows, the easiest way to install Terraform on Mac is to use HomeBrew, the package manager for Mac. Choco install Git, Choco install Github (you get the idea). You can install Git or Github or Chrome the same way. Press ‘Y’ when you are prompted for the installation confirmation.Ĭonfirm that Terraform has been successfully installed by accessing the terraform help. From the Terraform downloads website, copy the macOS Terraform zip file download link: 4. Once Chocolatey is on your machine, run the command below to install Terraform choco install terraform Download the terraform Zip File by visiting here and select 32-bit or 64-bit according to your machine. Terraform Install v1.4.1 Install Terraform Install or update to v1.4.1 (latest version) of Terraform to get started. That is the hard part, installing Chocolatey -) terraform1.4.2 terraform1.4.1 terraform1.4.0 terraform1.4.0-rc1 terraform1.4.0-beta2 terraform1.4.0-beta1 terraform1.4.0-alpha20221207 terraform1.4.0. Verify the Chocolatey installation by running choco from the command line. Set-ExecutionPolicy Bypass -Scope Process -Force ::SecurityProtocol = ::SecurityProtocol -bor 3072 iex ((New-Object ).DownloadString('')) Make sure that the execution policy for PowerShell is not Restricted. If you don’t have Chocolatey installed on your Windows machine, run the command below from PowerShell (run as admin). You can install other software like Chrome, Git, GitHub, Putty etc with a one-liner if you have Chocolatey installed. Chocolatey is an open source, free package manager for Windows. We can use Chocolatey (or Choco) to install Terraform. But since we are installing a tool that works with commands & config files, let’s also install the tool the smart way. Yes, you can download the MSI, run it, click next & get it installed. We will look at how to install Terraform on Windows & Mac – from the command line. It has become so popular these days that you can’t ignore it, as organizations are moving to a DevOps team rather than a purely Ops team. The beauty of Terraform is that it will work with most of the cloud providers including the main ones like Azure & AWS. Terraform is an open-source infrastructure as code (IaC) software tool that enables admin to safely create, change and even burn down your infrastructure (if you so wish).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |