Ad space (banner)
AD

Got the fundamentals? A structured Terraform course is a fast way to level up.

Find Terraform courses on Udemy

Affiliate link. Costs you nothing extra.

Lesson 3 / 37

Checking the Version with terraform version

When you want to confirm Terraform is installed, use terraform version. It is the simplest command and the natural first thing to run.

The syntax is terraform version.

Running it prints something like Terraform v1.7.5, along with your platform and whether a newer release is available.

A common stumble is a version mismatch within a team, since configuration written for a newer version may not parse on an older one. Projects usually pin a required version.

In real work, the version is pinned in the configuration itself, so everyone and every CI run uses the same one.

Terraform
Try it (type this into the pseudo terminal)
terraform version

🧑‍💻 You can type this command into the Terraform pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)