Skip to content

Suggestion for downloading and installing the binary #1097

@miquelis

Description

@miquelis

Hello yq team, how are you?

I would like to make a suggestion to download and install the binary always in the latest version.

wget -qO- https://api.github.com/repos/mikefarah/yq/releases/latest | grep browser_download_url | grep linux_amd64.tar.gz | cut -d '"' -f 4 | xargs wget -O - | tar -xz && mv sudo $(echo "yq_linux_amd64.tar.gz" cut -d"/" -f 9 | cut -d"." -f4,5 --complement | cut -d"." -f1) /usr/bin/yq 

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions