1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/serverless-installing-cli-windows.adoc
2023-02-09 15:36:22 +00:00

29 lines
990 B
Plaintext

// Module included in the following assemblies:
//
// * serverless/cli_tools/installing-kn.adoc
:_content-type: PROCEDURE
[id="installing-cli-windows_{context}"]
= Installing the Knative CLI for Windows
If you are using Windows, you can install the Knative (`kn`) CLI as a binary file. To do this, you must download and unpack a ZIP archive and add the binary to a directory on your `PATH`.
// no prereqs?
.Procedure
. Download the link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/latest/kn-windows-amd64.zip[Knative (`kn`) CLI ZIP archive].
+
You can also download any version of `kn` by navigating to that version's corresponding directory in the link:https://mirror.openshift.com/pub/openshift-v4/clients/serverless/[Serverless client download mirror].
. Extract the archive with a ZIP program.
. Move the `kn` binary to a directory on your `PATH`.
. To check your `PATH`, open the command prompt and run the command:
+
[source,terminal]
----
C:\> path
----