Created
February 15, 2022 20:25
-
-
Save ptavares/a265ff0c19c0d9056a94617dd7bf2b53 to your computer and use it in GitHub Desktop.
Install / Update Helm in one line using unix tools : curl / jq / tar and copy binary to $USER/.local/bin directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# One line Helm install / update | |
curl -L "$(curl -s https://api.github.com/repos/helm/helm/releases/latest | jq -r .body | grep -o -E "https://get.+?-linux-amd64.tar.gz" | cut -d ")" -f 1)" > /tmp/helm.tar.gz && tar xvzf /tmp/helm.tar.gz && mv /tmp/linux-amd64/helm ~/.local/bin/ && rm -rf helm.tar.gz linux-amd64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment