Skip to content

Commit

Permalink
custom mirror option documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensbox committed Jul 13, 2021
1 parent 03a3fe5 commit e60bbda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ terraform_version_constraint = ">= 0.13, < 0.14"
...
```

### Use custom mirror
To install from a remote mirror other than the default(https://releases.hashicorp.com/terraform). Use the `-m` or `--mirror` parameter.
Ex: `tfswitch --mirror https://example.jfrog.io/artifactory/hashicorp`

## Automation
**Automatically switch with bash**

Expand Down
4 changes: 4 additions & 0 deletions www/docs/Quick-Start.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ terraform_version_constraint = ">= 0.13, < 0.14"
...
```

### Use custom mirror
To install from a remote mirror other than the default(https://releases.hashicorp.com/terraform). Use the `-m` or `--mirror` parameter.
Ex: `tfswitch --mirror https://example.jfrog.io/artifactory/hashicorp`

**Automatically switch with bash**

Add the following to the end of your `~/.bashrc` file:
Expand Down

0 comments on commit e60bbda

Please sign in to comment.