mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
added tar.gz instructions
This commit is contained in:
parent
edb5f213d7
commit
f4a44e7313
@ -19,6 +19,14 @@ If you've been using v3 and want/need to upgrade, checkout the [upgrade guide](h
|
|||||||
### wget
|
### wget
|
||||||
Use wget to download the pre-compiled binaries:
|
Use wget to download the pre-compiled binaries:
|
||||||
|
|
||||||
|
## Compressed via tar.gz
|
||||||
|
```bash
|
||||||
|
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
|
||||||
|
tar xz && mv ${BINARY} /usr/bin/yq
|
||||||
|
```
|
||||||
|
|
||||||
|
## Plain binary
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq &&\
|
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq &&\
|
||||||
chmod +x /usr/bin/yq
|
chmod +x /usr/bin/yq
|
||||||
|
Loading…
Reference in New Issue
Block a user