Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 23 additions & 12 deletions docs/install/install-kn.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,33 @@ weight: 10
type: "docs"
---

## Install `kn` using the nightly executable binary
To install the `kn` Client, you must download the executable binary for your system. Links to the latest nightly executable binary are available here:
- [macOS](https://storage.googleapis.com/knative-nightly/client/latest/kn-darwin-amd64)
- [Linux](https://storage.googleapis.com/knative-nightly/client/latest/kn-linux-amd64)
- [Windows](https://storage.googleapis.com/knative-nightly/client/latest/kn-windows-amd64.exe)
This guide provides details about how you can install the Knative `kn` client (CLI) using various methods.

## Install `kn` using an executable binary

To install the `kn` Client, you must download the executable binary for your system. Links to the latest stable executable binary releases are available on the [`kn` release page](https://github.com/knative/client/releases).

You must place the executable binary in your system path, and make sure that it is executable.

## Install `kn` using Go
1. Check out the [Client repository](https://github.com/knative/client).
1. Run the command:
```bash
go install ./cmd/kn
```
### Install `kn` using nightly executable binary

Nightly executable binaries are available for users who want to install the most recent pre-release features of `kn`. These binaries include all `kn` features, even those not included in the latest stable release.

**WARNING:** Nightly executable binaries include features which may not be included in the latest stable Knative release, and are therefore not considered to be stable.

To install the `kn` Client, you must download the executable binary for your system. Links to the latest nightly executable binaries are available here:

- [macOS](https://storage.googleapis.com/knative-nightly/client/latest/kn-darwin-amd64)
- [Linux](https://storage.googleapis.com/knative-nightly/client/latest/kn-linux-amd64)
- [Windows](https://storage.googleapis.com/knative-nightly/client/latest/kn-windows-amd64.exe)

You must place the executable binary in your system path, and make sure that it is executable.

## `kn` container images
The `kn` container images are available here:

The `kn` container images are available for users who require these for additional use cases. For example, if you want to use the `kn` container image with [Tekton](https://github.com/tektoncd/catalog/tree/master/kn).

Links to either the nightly container image or the latest stable container image are available here:

- [Nightly container image](https://gcr.io/knative-nightly/knative.dev/client/cmd/kn)
- [Latest release](https://gcr.io/knative-releases/knative.dev/client/cmd/kn)