mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
90 lines
2.7 KiB
Plaintext
90 lines
2.7 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * cli_reference/helm/getting-started-with-helm-on-openshift.adoc
|
|
|
|
[id="installing-helm_{context}"]
|
|
= Installing Helm
|
|
|
|
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
|
|
|
|
. 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-linux-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"}
|
|
----
|
|
|
|
== 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"}
|
|
----
|