mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
Improving readme
This commit is contained in:
parent
108cfeb4bb
commit
44552c151b
@ -59,7 +59,7 @@ Take a look at the discussions for [common questions](https://github.com/mikefar
|
|||||||
### [Download the latest binary](https://github.com/mikefarah/yq/releases/latest)
|
### [Download the latest binary](https://github.com/mikefarah/yq/releases/latest)
|
||||||
|
|
||||||
### wget
|
### wget
|
||||||
Use wget to download the pre-compiled binaries:
|
Use wget to download, gzipped pre-compiled binaries:
|
||||||
|
|
||||||
#### Compressed via tar.gz
|
#### Compressed via tar.gz
|
||||||
```bash
|
```bash
|
||||||
@ -76,7 +76,7 @@ wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /
|
|||||||
|
|
||||||
For instance, VERSION=v4.2.0 and BINARY=yq_linux_amd64
|
For instance, VERSION=v4.2.0 and BINARY=yq_linux_amd64
|
||||||
|
|
||||||
Or, to get the latest release for linux amd64 without knowing the version:
|
Use VERSION=latest to always get the latest version:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\
|
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\
|
||||||
|
Loading…
Reference in New Issue
Block a user