Suggestion for downloading and installing the binary #1098
miquelis
started this conversation in
Show and tell
Replies: 2 comments
-
Nice! Also ended up with something similar: sudo bash -c "curl -fsSL https://github.com/mikefarah/yq/releases/latest/download/yq_$(uname | tr '[:upper:]' '[:lower:]')_$(uname -m) -o /usr/local/bin/yq && chmod a+x /usr/local/bin/yq" |
Beta Was this translation helpful? Give feedback.
0 replies
-
There are better ways like wiring a helper script and installing with that, here is my personal one. it is short and have options bash <(curl -sL shakiba.net) --help Which could be # install Linux 64
bash <(curl -sL website.TLD) --install L64
# install Linux 32
bash <(curl -sL website.TLD) --install L32
# install MAC 64
bash <(curl -sL website.TLD) --install M64
# etc |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello yq team, how are you?
I would like to make a suggestion to download and install the binary always in the latest version.
Beta Was this translation helpful? Give feedback.
All reactions