Answers: <p>You can find the version of your providers with <code>terraform version</code></p>
  <pre><code>❯ terraform version
  Terraform v1.1.9
  on linux_amd64
  + provider registry.terraform.io/hashicorp/aws v3.75.1
  </code></pre>
  <h2>With <a href="https://github.com/stedolan/jq" rel="nofollow noreferrer"><code>jq</code></a></h2>
  <pre><code>❯ terraform version -json | jq .provider_selections
  {
    &quot;registry.terraform.io/hashicorp/aws&quot;: &quot;3.75.1&quot;
  }
  </code></pre>
  <p>terraform version -json | jq .provider_selections</p>
  <p>I opened a <a href="https://github.com/hashicorp/terraform/issues/31048#issue-1236104011" rel="nofollow noreferrer">UX Improvement case on GitHub #31048</a></p>
  
Answers: CC BY-SA 4.0
Answers: 2022-05-14T19:24:31.717Z
Answers: 2022-05-14T19:29:41.263Z
Answers: 2022-05-14T19:29:41.263Z
Answers: Evan Carroll
Body: <p>Other than reading <code>.terraform.lock.hcl</code> is there a mechanisms in Terraform to find the version of the providers I am using with the cli interface?</p>
  <p>I don't see the version when I run <code>terraform providers</code> or the ability to add a <code>-v</code> flag (or another flag) under <code>terraform providers --help</code></p>
  
Tags: <terraform><versioning>
Title: Does Terraform provide a mechanism to find the provider version?
UserDisplayName: Evan Carroll
ThreadText: # Does Terraform provide a mechanism to find the provider version?
  
  (Asked by: username_0 on 2022-05-14)
  
  Other than reading `.terraform.lock.hcl` is there a mechanisms in Terraform to find the version of the providers I am using with the cli interface?
  
  I don't see the version when I run `terraform providers` or the ability to add a `-v` flag (or another flag) under `terraform providers --help`
  
  **Tags:** terraform, versioning
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-05-14. Score: 0 | Accepted answer
  
  You can find the version of your providers with `terraform version`
  
  ```
  ❯ terraform version
  Terraform v1.1.9
  on linux_amd64
  + provider registry.terraform.io/hashicorp/aws v3.75.1
  
  ```
  
  ## With [`jq`](https://github.com/stedolan/jq)
  
  ```
  ❯ terraform version -json | jq .provider_selections
  {
    "registry.terraform.io/hashicorp/aws": "3.75.1"
  }
  
  ```
  
  terraform version -json | jq .provider\_selections
  
  I opened a [UX Improvement case on GitHub #31048](https://github.com/hashicorp/terraform/issues/31048#issue-1236104011)
  
  
  ---
  
  