Last active
December 20, 2023 07:09
-
-
Save yankay/4b320500f6a10fa192cb6ef9da020372 to your computer and use it in GitHub Desktop.
快速安装 Helm
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
cd /tmp | |
export HELM_VERSION=$(curl -s https://api.github.com/repos/helm/helm/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' ) | |
wget "https://files.m.daocloud.io/get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz" | |
tar -zxvf helm-${HELM_VERSION}-linux-amd64.tar.gz | |
mv linux-amd64/helm /usr/local/bin/helm | |
helm version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment