Skip to content

Commit

Permalink
add usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
bschaatsbergen committed Feb 27, 2024
1 parent f694397 commit 3f566b9
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions docs/use.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
In developing `tfversion`, our 2 focus points are simplicity and ensuring a smooth user experience, enabling you to effortlessly use Terraform on any platform.

### Install the latest stable release

```sh
tfversion install --latest
```

### Install a specific version

```sh
tfversion install 1.7.4
```

### Install the latest pre-release

```sh
tfversion install --latest --pre-release
```

### Use the latest stable release

```sh
tfversion use --latest
```

### Use a specific version

```sh
tfversion use 1.7.4
```

### Use the latest pre-release

```sh
tfversion use --latest --pre-release
```

### Use the required version for your current directory

```sh
tfversion use --required
```

### List all available versions

```sh
tfversion list
```

### List all installed versions

```sh
tfversion list --installed
```

### Uninstall a specific version

```sh
tfversion uninstall 1.7.4
```

0 comments on commit 3f566b9

Please sign in to comment.