29 lines
727 B
Markdown
29 lines
727 B
Markdown
---
|
|
tags:
|
|
- IT/Tools/terraform
|
|
- IT/Tools/helm
|
|
---
|
|
## Install terraform
|
|
|
|
|
|
## Install helm
|
|
|
|
```shell
|
|
# 1. Install prerequisites
|
|
sudo apt-get update
|
|
sudo apt-get install -y apt-transport-https ca-certificates curl
|
|
|
|
# 2. Download and add the Helm GPG key
|
|
curl -fsSL https://packages.buildkite.com/helm-linux/helm-debian/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
|
|
|
|
# 3. Add the Helm repository
|
|
echo "deb [signed-by=/usr/share/keyrings/helm.gpg] https://packages.buildkite.com/helm-linux/helm-debian/any/ any main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
|
|
|
|
# 4. Update and install Helm
|
|
sudo apt-get update
|
|
sudo apt-get install -y helm
|
|
|
|
# 5. Verify installation
|
|
helm version
|
|
```
|