Skip to content

Commit

Permalink
suggest 'go install' instead of 'go get' (bazelbuild#262)
Browse files Browse the repository at this point in the history
https://golang.org/doc/go-get-install-deprecation - "Deprecation of 'go get' for installing executables" says that using `go get` for installing binaries is deprecated and will not be supported starting from go1.18.
  • Loading branch information
dmitris authored Aug 12, 2021
1 parent e153c7a commit ca10ec4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ To install the Go version, type:
```shell
go get github.com/bazelbuild/bazelisk
```
With Go 1.17 or later, the recommended way to install it is:
```shell
go install github.com/bazelbuild/bazelisk@latest
```

To add it to your PATH:

Expand Down

0 comments on commit ca10ec4

Please sign in to comment.