DEV Community

Cover image for Helm Installation - Ubuntu & Windows
Unni P
Unni P

Posted on • Updated on • Originally published at iamunnip.hashnode.dev

Helm Installation - Ubuntu & Windows

Ubuntu

Install some prerequisite packages

sudo apt update
Enter fullscreen mode Exit fullscreen mode
sudo apt install build-essential procps curl file git
Enter fullscreen mode Exit fullscreen mode

Install Homebrew using the provided convenience script

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Enter fullscreen mode Exit fullscreen mode

Add Homebrew in our system PATH using the below commands

(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/ubuntu/.profile
Enter fullscreen mode Exit fullscreen mode
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
Enter fullscreen mode Exit fullscreen mode

Verify the version and install the recommended gcc package

brew --version
Enter fullscreen mode Exit fullscreen mode
brew install gcc
Enter fullscreen mode Exit fullscreen mode

Turn off Homebrew anonymous aggregate user behavior analytics

brew analytics off
Enter fullscreen mode Exit fullscreen mode

Install Helm and verify its version

brew install helm
Enter fullscreen mode Exit fullscreen mode
helm version
Enter fullscreen mode Exit fullscreen mode

Windows

Open a Powershell terminal (version 5.1 or above) and execute the below commands to install Scoop

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Enter fullscreen mode Exit fullscreen mode
irm get.scoop.sh | iex
Enter fullscreen mode Exit fullscreen mode

Install Helm and verify its version

scoop install helm
Enter fullscreen mode Exit fullscreen mode
helm version
Enter fullscreen mode Exit fullscreen mode

Reference

https://brew.sh/

https://scoop.sh/

https://helm.sh/docs/intro/install/

Top comments (0)