added tar.gz instructions

This commit is contained in:
Mike Farah
2020-12-31 09:30:59 +11:00
parent edb5f213d7
commit 385417556d
3 changed files with 8 additions and 0 deletions
+8
View File
@@ -19,6 +19,14 @@ If you've been using v3 and want/need to upgrade, checkout the [upgrade guide](h
### wget
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
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq &&\
chmod +x /usr/bin/yq
Binary file not shown.
Executable
BIN
View File
Binary file not shown.