Skip to content

Commit

Permalink
simplify install instructions assuming Go 1.16+
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mvdan authored and myitcv committed Nov 9, 2021
1 parent dbf5992 commit 29a686d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,7 @@ Using [Homebrew](https://brew.sh), you can install using the CUE Homebrew tap:

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

If you already have Go installed, the short version is:

```
GO111MODULE=on go get cuelang.org/go/cmd/cue
```

Or, if you are using Go 1.16:
If you already have Go 1.16 or later installed, the short version is:

```
go install cuelang.org/go/cmd/cue@latest
Expand Down
8 changes: 2 additions & 6 deletions doc/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@ Go 1.14 or higher (see below)

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

```
GO111MODULE=on go get cuelang.org/go/cmd/cue
```

Or, if you are using Go 1.16:

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

If the command fails, make sure your version of Go is 1.16 or later.

And make sure the install directory is in your path.

To also download the API and documentation, run
Expand Down

0 comments on commit 29a686d

Please sign in to comment.