Skip to content

Instantly share code, notes, and snippets.

@kenzo0107
Last active March 26, 2020 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenzo0107/7e22f63b4ed9ffc8ee2c7924dbc804ba to your computer and use it in GitHub Desktop.
Save kenzo0107/7e22f63b4ed9ffc8ee2c7924dbc804ba to your computer and use it in GitHub Desktop.
# macOS
OS_TYPE=darwin
# Linux
OS_TYPE=linux
# Helm version
VERSION=2.9.1
cd /tmp
curl -sL https://storage.googleapis.com/kubernetes-helm/helm-v${VERSION}-${OS_TYPE}-amd64.tar.gz \
-o /tmp/helm.tar.gz -o /tmp/helm.tar.gz
tar -xvf /tmp/helm.tar.gz
mv ${OS_TYPE}-amd64/helm /usr/local/bin/
chmod 755 /usr/local/bin/helm
# enable complementary function
source <(helm completion zsh)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment