1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 15:46:57 +01:00
Files
openshift-docs/modules/serverless-installing-cli-macos.adoc

27 lines
774 B
Plaintext

// Module included in the following assemblies:
//
// * serverless/cli_tools/installing-kn.adoc
:_content-type: PROCEDURE
[id="serverless-installing-cli-macos_{context}"]
= Installing the Knative CLI for macOS
If you are using macOS, you can install the Knative (`kn`) CLI as a binary file. To do this, you must download and unpack a `tar.gz` 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-macos-amd64.tar.gz[Knative (`kn`) CLI `tar.gz` archive].
. Unpack and extract the archive.
. Move the `kn` binary to a directory on your `PATH`.
. To check your `PATH`, open a terminal window and run:
+
[source,terminal]
----
$ echo $PATH
----