:_mod-docs-content-type: ASSEMBLY
[id="installing-helm"]
= Installing Helm
include::_attributes/common-attributes.adoc[]
:context: installing-helm

toc::[]

The following section describes how to install Helm on different platforms using the CLI.

You can also find the URL to the latest binaries from the {product-title} web console by clicking the *?* icon in the upper-right corner and selecting *Command Line Tools*.

.Prerequisites
* You have installed Go, version 1.13 or higher.

== On Linux

ifndef::openshift-rosa,openshift-dedicated[]
. Download the Helm binary and add it to your path:

* Linux (x86_64, amd64)
+
[source,terminal]
----
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-linux-amd64 -o /usr/local/bin/helm
----

* Linux on {ibm-z-name} and {ibm-linuxone-name} (s390x)
+
[source,terminal]
----
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-linux-s390x -o /usr/local/bin/helm
----

* Linux on {ibm-power-name} (ppc64le)
+
[source,terminal]
----
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-linux-ppc64le -o /usr/local/bin/helm
----
endif::openshift-rosa,openshift-dedicated[]
ifdef::openshift-rosa,openshift-dedicated[]
. Download the Linux x86_64 or Linux amd64 Helm binary and add it to your path:
+
[source,terminal]
----
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-linux-amd64 -o /usr/local/bin/helm
----
endif::openshift-rosa,openshift-dedicated[]

. Make the binary file executable:
+
[source,terminal]
----
# chmod +x /usr/local/bin/helm
----

. Check the installed version:
+
[source,terminal]
----
$ helm version
----
+
.Example output
[source,terminal]
----
version.BuildInfo{Version:"v3.0", GitCommit:"b31719aab7963acf4887a1c1e6d5e53378e34d93", GitTreeState:"clean", GoVersion:"go1.13.4"}
----

== On Windows 7/8

. Download the latest link:https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-windows-amd64.exe[`.exe` file] and put in a directory of your preference.
. Right click *Start* and click *Control Panel*.
. Select *System and Security* and then click *System*.
. From the menu on the left, select *Advanced systems settings* and click *Environment Variables* at the bottom.
. Select *Path* from the *Variable* section and click *Edit*.
. Click *New* and type the path to the folder with the `.exe` file into the field or click *Browse* and select the directory, and click *OK*.

== On Windows 10

. Download the latest link:https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-windows-amd64.exe[`.exe` file] and put in a directory of your preference.
. Click *Search* and type `env` or `environment`.
. Select *Edit environment variables for your account*.
. Select *Path* from the *Variable* section and click *Edit*.
. Click *New* and type the path to the directory with the exe file into the field or click *Browse* and select the directory, and click *OK*.


== On MacOS
. Download the Helm binary and add it to your path:
+
[source,terminal]
----
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/helm/latest/helm-darwin-amd64 -o /usr/local/bin/helm
----


. Make the binary file executable:
+
[source,terminal]
----
# chmod +x /usr/local/bin/helm
----

. Check the installed version:
+
[source,terminal]
----
$ helm version
----
+
.Example output
[source,terminal]
----
version.BuildInfo{Version:"v3.0", GitCommit:"b31719aab7963acf4887a1c1e6d5e53378e34d93", GitTreeState:"clean", GoVersion:"go1.13.4"}
----
