From 8d96b72babb190da5d08562a22f82b44ec05ff94 Mon Sep 17 00:00:00 2001 From: Andrew Gillis Date: Wed, 18 Jan 2023 14:45:05 -0800 Subject: [PATCH] Update install instructions in README.md `go get` is no longer supported outside a module. To build and install a command, use 'go install' with a version. For more information, see https://golang.org/doc/go-get-install-deprecation --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0f215799..91302e2f 100644 --- a/README.md +++ b/README.md @@ -30,15 +30,12 @@ Most users should use v2, especially for new software, since the v2 API transpar ## Install -To install the latest version of `go-car/v2` module, run: +To install the latest version of the `car` executable, run: ```shell script -go get github.com/ipld/go-car/v2 +go install github.com/ipld/go-car/cmd/car@latest ``` -Alternatively, to install the v0 module, run: -```shell script -go get github.com/ipld/go-car -``` +This will install the `car` executable into `$GOPATH/bin/` ## API Documentation