Skip to content

Commit 108cfeb

Browse files
authored
README: how to easily download the latest release (#1397)
1 parent 24bbffd commit 108cfeb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /
7676

7777
For instance, VERSION=v4.2.0 and BINARY=yq_linux_amd64
7878

79+
Or, to get the latest release for linux amd64 without knowing the version:
80+
81+
```bash
82+
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\
83+
chmod +x /usr/bin/yq
84+
```
85+
7986
### MacOS / Linux via Homebrew:
8087
Using [Homebrew](https://brew.sh/)
8188
```

0 commit comments

Comments
 (0)