# 写入以下内容 curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash # 记录 K3s 环境变量 echo "export KUBECONFIG=/etc/rancher/k3s/k3s.yaml" >> ~/.bashrc