1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/serverless-installing-cli-web-console.adoc
2022-07-01 16:54:47 +00:00

45 lines
1.4 KiB
Plaintext

// Module included in the following assemblies:
//
// * serverless/cli_tools/installing-kn.adoc
:_content-type: PROCEDURE
[id="installing-cli-web-console_{context}"]
= Installing the Knative CLI using the {product-title} web console
Using the {product-title} web console provides a streamlined and intuitive user interface to install the Knative (`kn`) CLI. After the {ServerlessOperatorName} is installed, you will see a link to download the Knative (`kn`) CLI for Linux (amd64, s390x, ppc64le), macOS, or Windows from the *Command Line Tools* page in the {product-title} web console.
.Prerequisites
* You have logged in to the {product-title} web console.
* The {ServerlessOperatorName} is installed on your {product-title} cluster.
+
[IMPORTANT]
====
If *libc* is not available, you might see the following error when you run CLI commands:
[source,terminal]
----
$ kn: No such file or directory
----
====
.Procedure
. Download the Knative (`kn`) CLI from the *Command Line Tools* page. You can access the *Command Line Tools* page by clicking the image:../images/question-circle.png[title="Help"] icon in the top right corner of the web console and selecting *Command Line Tools* in the list.
. Unpack the archive:
+
[source,terminal]
----
$ tar -xf <file>
----
. Move the `kn` binary to a directory on your `PATH`.
. To check your `PATH`, run:
+
[source,terminal]
----
$ echo $PATH
----