Skip to content

Commit

Permalink
Update install instructions in README.md
Browse files Browse the repository at this point in the history
`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
  • Loading branch information
gammazero authored and rvagg committed Jan 19, 2023
1 parent e48b3f1 commit 8d96b72
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8d96b72

Please sign in to comment.