Skip to content

Commit 92e0612

Browse files
committed
added quickstart
1 parent 738ff96 commit 92e0612

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9Ywl
208208
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
209209
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
210210
google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
211+
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
211212
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
212213
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
213214
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

www/docs/Quick-Start.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,18 @@ The most recently selected versions are presented at the top of the dropdown.
2222
1. Display all versions including beta, alpha and release candidates(rc).
2323
2. For example, `tfswitch -l` or `tfswitch --list-all` to see all versions.
2424
3. Hit **Enter** to select the desired version.
25-
25+
### Install latest version only
26+
1. Install the latest stable version only.
27+
2. Run `tfswitch -u` or `tfswitch --latest` to see all versions.
28+
3. Hit **Enter** to install.
29+
### Install latest implicit version for stable releases
30+
1. Install the latest implicit stable version.
31+
2. Ex: `tfswitch -s 0.13` or `tfswitch --latest-stable 0.13` downloads 0.13.6 (latest) version.
32+
3. Hit **Enter** to install.
33+
### Install latest implicit version for beta, alpha and release candidates(rc)
34+
1. Install the latest implicit pre-release version.
35+
2. Ex: `tfswitch -p 0.13` or `tfswitch --latest-pre 0.13` downloads 0.13.0-rc1 (latest) version.
36+
3. Hit **Enter** to install.
2637
### Use version.tf file
2738
If a .tf file with the terraform constrain is included in the current directory, it should automatically download or switch to that terraform version. For example, the following should automatically switch terraform to the lastest version:
2839
```

0 commit comments

Comments
 (0)