From ca10ec4890222305150c0c8eb949cfa190e7d0c5 Mon Sep 17 00:00:00 2001 From: Dmitry Savintsev Date: Thu, 12 Aug 2021 19:56:29 +0200 Subject: [PATCH] suggest 'go install' instead of 'go get' (#262) 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. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index f85d63da..64ca6bf4 100644 --- a/README.md +++ b/README.md @@ -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: