2
0
mirror of https://github.com/jmespath/jp synced 2025-08-22 09:37:10 +00:00

Merge pull request #43 from brianolson/readme-fix

update `go` and `git` commands
This commit is contained in:
James Saryerwinnie 2023-03-30 23:52:26 -04:00 committed by GitHub
commit 6295f38bc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,12 +35,12 @@ sudo wget https://github.com/jmespath/jp/releases/latest/download/jp-linux-amd64
## Building from Source
If you have a Go environment installed you can also run:
``go get -u github.com/jmespath/jp`` to get the latest version
``go install github.com/jmespath/jp@latest`` to get the latest version
of jmespath. If you have the repo checked out locally you can also
just ``go build`` the project:
```sh
git clone git://github.com/jmespath/jp
git clone https://github.com/jmespath/jp.git
cd jp
go build
./jp --help
@ -52,7 +52,7 @@ have a workspace/GOPATH configured, you can just run
``jp`` executable for you:
```sh
git clone git://github.com/jmespath/jp
git clone https://github.com/jmespath/jp.git
cd jp
scripts/build-self-contained
./jp --help