1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/hcp-cli-console.adoc
2024-09-11 05:57:28 +00:00

47 lines
1.2 KiB
Plaintext

// Module included in the following assemblies:
// * hosted-control-planes/hcp-prepare/hcp-cli.adoc
:_mod-docs-content-type: PROCEDURE
[id="hcp-cli-console_{context}"]
= Installing the {hcp} command-line interface by using the web console
You can install the {hcp} command-line interface (CLI), `hcp`, by using the {product-title} web console.
.Procedure
. From the {product-title} web console, click the *Help icon* -> *Command Line Tools*.
. Click *Download hcp CLI* for your platform.
. Unpack the downloaded archive by running the following command:
+
[source,terminal]
----
$ tar xvzf hcp.tar.gz
----
. Run the following command to make the binary file executable:
+
[source,terminal]
----
$ chmod +x hcp
----
. Run the following command to move the binary file to a directory in your path:
+
[source,terminal]
----
$ sudo mv hcp /usr/local/bin/.
----
.Verification
* Verify that you see the list of available parameters by running the following command:
+
[source,terminal]
----
$ hcp create cluster <platform> --help <1>
----
+
<1> You can use the `hcp create cluster` command to create and manage hosted clusters. The supported platforms are `aws`, `agent`, and `kubevirt`.