mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
// Module is included in the following assemblies:
|
|
//
|
|
// serverless/knative-client.adoc
|
|
|
|
[id="installing-cli-web-console_{context}"]
|
|
= Installing the Knative CLI using the {product-title} web console
|
|
|
|
Once the {ServerlessOperatorName} is installed, you will see a link to download the Knative CLI (`kn`) for Linux (x86_64, amd64, s390x, ppc64le), macOS, or Windows from the *Command Line Tools* page in the {product-title} web console.
|
|
|
|
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 drop down menu.
|
|
|
|
.Procedure
|
|
|
|
. Download the `kn` CLI from the *Command Line Tools* page.
|
|
. 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
|
|
----
|
|
|
|
+
|
|
[NOTE]
|
|
====
|
|
If you do not use RHEL or Fedora, ensure that *libc* is installed in a directory on your library path.
|
|
If *libc* is not available, you might see the following error when you run CLI commands:
|
|
|
|
[source,terminal]
|
|
----
|
|
$ kn: No such file or directory
|
|
----
|
|
|
|
====
|