Skip to content

Commit 29a686d

Browse files
mvdanmyitcv
authored andcommitted
simplify install instructions assuming Go 1.16+
Go 1.16 was released nearly a year ago, and Go 1.15 and earlier are no longer supported by upstream. Simplify the install steps by no longer mentioning GO111MODULE. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I7f4a8fd7dd247d2b9c96e35ecae2c195dc68fe75 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/527046 Reviewed-by: Paul Jolly <[email protected]> Unity-Result: CUEcueckoo <[email protected]>
1 parent dbf5992 commit 29a686d

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,7 @@ Using [Homebrew](https://brew.sh), you can install using the CUE Homebrew tap:
107107

108108
<!-- Keep the following in sync with cmd/cue/cmd/testdata/script/install*.txt -->
109109

110-
If you already have Go installed, the short version is:
111-
112-
```
113-
GO111MODULE=on go get cuelang.org/go/cmd/cue
114-
```
115-
116-
Or, if you are using Go 1.16:
110+
If you already have Go 1.16 or later installed, the short version is:
117111

118112
```
119113
go install cuelang.org/go/cmd/cue@latest

doc/install.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,12 @@ Go 1.14 or higher (see below)
1414

1515
To download and install the `cue` command line tool run
1616

17-
```
18-
GO111MODULE=on go get cuelang.org/go/cmd/cue
19-
```
20-
21-
Or, if you are using Go 1.16:
22-
2317
```
2418
go install cuelang.org/go/cmd/cue@latest
2519
```
2620

21+
If the command fails, make sure your version of Go is 1.16 or later.
22+
2723
And make sure the install directory is in your path.
2824

2925
To also download the API and documentation, run

0 commit comments

Comments
 (0)