Skip to content

Commit f23406e

Browse files
authored
Merge branch 'master' into cleaner-chdir
2 parents 83eb2c2 + 0b34f4a commit f23406e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ Should tfenv automatically install terraform if the version specified by default
163163
$ TFENV_AUTO_INSTALL=false terraform plan
164164
```
165165

166+
```console
167+
$ terraform use <version that is not yet installed>
168+
```
169+
166170
##### `TFENV_CURL_OUTPUT`
167171

168172
Integer (Default: 2)
@@ -387,6 +391,8 @@ $ tfenv use latest
387391
$ tfenv use latest:^0.8
388392
```
389393

394+
Note: `tfenv use latest` or `tfenv use latest:<regex>` will find the latest matching version that is already installed. If no matching versions are installed, and TFENV_AUTO_INSTALL is set to `true` (which is the default) the the latest matching version in the remote repository will be installed and used.
395+
390396
### tfenv uninstall &lt;version>
391397

392398
Uninstall a specific version of Terraform

0 commit comments

Comments
 (0)