Skip to content

Instantly share code, notes, and snippets.

@emakarov
Last active June 17, 2020 06:52
Show Gist options
  • Save emakarov/e19121e60093bb1cd1ebabdcc3918b45 to your computer and use it in GitHub Desktop.
Save emakarov/e19121e60093bb1cd1ebabdcc3918b45 to your computer and use it in GitHub Desktop.
How to install or update helm
# Installing/updating helm on Ubuntu
# Usage: ./update_helm.sh v2.16.9
VERSION=$1
echo "Installing Helm ${VERSION}"
rm helm-*-linux-amd64.tar.gz
rm -r linux-amd64
echo "Download will start"
wget https://get.helm.sh/helm-${VERSION}-linux-amd64.tar.gz
tar -zxvf helm-${VERSION}-linux-amd64.tar.gz
mv linux-amd64/helm /usr/local/bin/helm
echo "New helm installed"
helm version
rm helm-*-linux-amd64.tar.gz
rm -r linux-amd64
echo "Temp files cleared"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment