From 68af6e05bb5e70a63a88e96dd47a6226e0321da7 Mon Sep 17 00:00:00 2001 From: Nicklas Frahm Date: Thu, 2 Dec 2021 09:31:27 +0100 Subject: [PATCH] Document installation for go >= 1.17 --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a4beb68..895b40e 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,13 @@ This code is known to work on Go 1.12 and above. We recommend always using the n ## Installation instructions -``` +```shell +# go >= 1.17 +# Using `go get` to install binaries is deprecated. +# The version suffix is mandatory. +go install github.com/google/go-jsonnet/cmd/jsonnet@latest + +# go < 1.17 go get github.com/google/go-jsonnet/cmd/jsonnet ```