You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/install/install-kn.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,26 @@ To install the `kn` Client, you must download the executable binary for your sys
26
26
27
27
You must place the executable binary in your system path, and make sure that it is executable.
28
28
29
+
## Install `kn` using Go
30
+
**Prerequisite:** Building `kn` requires Go v1.14 or newer. You will first need a working Go environment.
31
+
1. Check out the [Client repository](https://github.com/knative/client):
32
+
```bash
33
+
git clone https://github.com/knative/client.git
34
+
cd client/
35
+
```
36
+
1. Build an executable binary:
37
+
```bash
38
+
hack/build.sh -f
39
+
```
40
+
1. Move `kn` into your system path, and verify that `kn` commands are working properly. For example:
41
+
```bash
42
+
kn version
43
+
```
44
+
45
+
## Install `kn` using brew
46
+
47
+
For macOs, you can [install kn using brew.](https://github.com/knative/homebrew-client)
48
+
29
49
## `kn` container images
30
50
31
51
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).
@@ -34,3 +54,16 @@ Links to either the nightly container image or the latest stable container image
0 commit comments