github.com/hugorut/terraform@v1.1.3/website/docs/cli/plugins/index.mdx (about) 1 --- 2 page_title: Managing Plugins - Terraform CLI 3 description: >- 4 Commands to install, configure, and show information about providers. Also 5 commands to reduce install effort in air-gapped environments. 6 --- 7 8 # Managing Plugins 9 10 Terraform relies on plugins called "providers" in order to manage various types 11 of resources. (For more information about providers, see 12 [Providers](/language/providers) in the Terraform 13 language docs.) 14 15 -> **Note:** Providers are currently the only plugin type most Terraform users 16 will interact with. Terraform also supports third-party provisioner plugins, but 17 we discourage their use. 18 19 Terraform downloads and/or installs any providers 20 [required](/language/providers/requirements) by a configuration 21 when [initializing](/cli/init) a working directory. By default, 22 this works without any additional interaction but requires network access to 23 download providers from their source registry. 24 25 You can configure Terraform's provider installation behavior to limit or skip 26 network access, and to enable use of providers that aren't available via a 27 networked source. Terraform also includes some commands to show information 28 about providers and to reduce the effort of installing providers in airgapped 29 environments. 30 31 ## Configuring Plugin Installation 32 33 Terraform's configuration file includes options for caching downloaded plugins, 34 or explicitly specifying a local or HTTPS mirror to install plugins from. For 35 more information, see [CLI Config File](/cli/config/config-file). 36 37 ## Getting Plugin Information 38 39 Use the [`terraform providers`](/cli/commands/providers) command to get information 40 about the providers required by the current working directory's configuration. 41 42 Use the [`terraform version`](/cli/commands/version) command (or 43 `terraform -version`) to show the specific provider versions installed for the 44 current working directory. 45 46 Use the [`terraform providers schema`](/cli/commands/providers/schema) command to 47 get machine-readable information about the resources and configuration options 48 offered by each provider. 49 50 ## Managing Plugin Installation 51 52 Use the [`terraform providers mirror`](/cli/commands/providers/mirror) command to 53 download local copies of every provider required by the current working 54 directory's configuration. This directory will use the nested directory layout 55 that Terraform expects when installing plugins from a local source, so you can 56 transfer it directly to an airgapped system that runs Terraform. 57 58 Use the [`terraform providers lock`](/cli/commands/providers/lock) command 59 to update the lock file that Terraform uses to ensure predictable runs when 60 using ambiguous provider version constraints.