From e60bbdaf14fdd975b1a7e6b61a6be919f1ee1ccf Mon Sep 17 00:00:00 2001 From: warrenbox Date: Tue, 13 Jul 2021 15:53:55 -0500 Subject: [PATCH] custom mirror option documentation --- README.md | 4 ++++ www/docs/Quick-Start.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 4986c04a..558db33c 100644 --- a/README.md +++ b/README.md @@ -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** diff --git a/www/docs/Quick-Start.md b/www/docs/Quick-Start.md index e4dec7d1..59679141 100644 --- a/www/docs/Quick-Start.md +++ b/www/docs/Quick-Start.md @@ -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: