Skip to content

Commit 4b81292

Browse files
abrennan89knative-prow-robot
authored andcommitted
Added instructions for installing kn (#2045)
1 parent 652a2c4 commit 4b81292

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

docs/install/install-kn.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: "Installing the `kn` Client"
3+
linkTitle: "Installing the `kn` Client"
4+
weight: 10
5+
type: "docs"
6+
---
7+
8+
## Install `kn` using the nightly executable binary
9+
To install the `kn` Client, you must download the executable binary for your system. Links to the latest nightly executable binary are available here:
10+
- [macOS](https://storage.googleapis.com/knative-nightly/client/latest/kn-darwin-amd64)
11+
- [Linux](https://storage.googleapis.com/knative-nightly/client/latest/kn-linux-amd64)
12+
- [Windows](https://storage.googleapis.com/knative-nightly/client/latest/kn-windows-amd64.exe)
13+
14+
You must place the executable binary in your system path, and make sure that it is executable.
15+
16+
## Install `kn` using Go
17+
1. Check out the [Client repository](https://github.com/knative/client).
18+
1. Run the command:
19+
```
20+
go install ./cmd/kn
21+
```
22+
23+
## `kn` container images
24+
The `kn` container images are available here:
25+
- [Nightly container image](gcr.io/knative-nightly/knative.dev/client/cmd/kn)
26+
- [Latest release](gcr.io/knative-releases/knative.dev/client/cmd/kn)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)