From 4e03ccc66f477616811c819fb027fffc6edc6403 Mon Sep 17 00:00:00 2001 From: Dave Tucker Date: Thu, 1 Apr 2021 18:38:35 +0100 Subject: [PATCH] README: Don't go get `go get -u` will try to update modules dependencies `go get` (no `-u`) incorrectly resolves dependencies we should instead advise users to `go install` Signed-off-by: Dave Tucker --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2070abffe..0e44c5530 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ LinuxKit uses the `linuxkit` tool for building, pushing and running VM images. Simple build instructions: use `make` to build. This will build the tool in `bin/`. Add this to your `PATH` or copy it to somewhere in your `PATH` eg `sudo cp bin/* /usr/local/bin/`. Or you can use `sudo make install`. -If you already have `go` installed you can use `go get -u github.com/linuxkit/linuxkit/src/cmd/linuxkit` to install the `linuxkit` tool. +If you already have `go` installed you can use `go install github.com/linuxkit/linuxkit/src/cmd/linuxkit@latest` to install the `linuxkit` tool. On MacOS there is a `brew tap` available. Detailed instructions are at [linuxkit/homebrew-linuxkit](https://github.com/linuxkit/homebrew-linuxkit), the short summary is