mirror of https://github.com/knative/docs.git
kn CLI install should use tap instead of compile for brew install (#4973)
* kn CLI install should use tap instead of compile for brew install Fixes #4972 Signed-off-by: Carlos Santana <csantana23@gmail.com> * remove outdated statement about 0.25 Signed-off-by: Carlos Santana <csantana23@gmail.com> * make upgrade command shorter Signed-off-by: Carlos Santana <csantana23@gmail.com> * have one command to install and mention upgrade Signed-off-by: Carlos Santana <csantana23@gmail.com> * links to kind and minikube Signed-off-by: Carlos Santana <csantana23@gmail.com>
This commit is contained in:
parent
375a456a45
commit
b80b572a88
|
@ -6,16 +6,10 @@ The `kn` CLI also simplifies completion of otherwise complex procedures such as
|
|||
|
||||
Do one of the following:
|
||||
|
||||
- To install `kn` by using [Homebrew](https://brew.sh){target=_blank}, run the command:
|
||||
- To install `kn` by using [Homebrew](https://brew.sh){target=_blank}, run the command (Use `brew upgrade` instead if you are upgrading from a previous version):
|
||||
|
||||
```bash
|
||||
brew install kn
|
||||
```
|
||||
|
||||
- To upgrade an existing `kn` install to the latest version, run the command:
|
||||
|
||||
```bash
|
||||
brew upgrade kn
|
||||
brew install knative/client/kn
|
||||
```
|
||||
|
||||
??? bug "Having issues upgrading `kn` using Homebrew?"
|
||||
|
@ -23,14 +17,14 @@ The `kn` CLI also simplifies completion of otherwise complex procedures such as
|
|||
If you are having issues upgrading using Homebrew, it might be due to a change to a CLI repository where the `master` branch was renamed to `main`. Resolve this issue by running the command:
|
||||
|
||||
```bash
|
||||
brew tap --repair
|
||||
brew update
|
||||
brew upgrade kn
|
||||
brew uninstall kn
|
||||
brew untap knative/client --force
|
||||
brew install knative/client/kn
|
||||
```
|
||||
|
||||
=== "Using a binary"
|
||||
|
||||
You can install `kn` by downloading the executable binary for your system and placing it in the system path. Note that you will need `kn` v0.25 or later.
|
||||
You can install `kn` by downloading the executable binary for your system and placing it in the system path.
|
||||
|
||||
1. Download the binary for your system from the [`kn` release page](https://github.com/knative/client/releases){target=_blank}.
|
||||
|
||||
|
|
|
@ -35,17 +35,12 @@ To get started, install the Knative `quickstart` plugin:
|
|||
|
||||
Do one of the following:
|
||||
|
||||
- To install the `quickstart` plugin by using [Homebrew](https://brew.sh){target=_blank}, run the command:
|
||||
- To install the `quickstart` plugin by using [Homebrew](https://brew.sh){target=_blank}, run the command (Use `brew upgrade` instead if you are upgrading from a previous version):
|
||||
|
||||
```bash
|
||||
brew install knative-sandbox/kn-plugins/quickstart
|
||||
```
|
||||
|
||||
- To upgrade an existing `quickstart` installation to the latest version, run the command:
|
||||
|
||||
```bash
|
||||
brew upgrade knative-sandbox/kn-plugins/quickstart
|
||||
```
|
||||
=== "Using a binary"
|
||||
|
||||
1. Download the binary for your system from the [`quickstart` release page](https://github.com/knative-sandbox/kn-plugin-quickstart/releases){target=_blank}.
|
||||
|
@ -103,7 +98,7 @@ To get a local deployment of Knative, run the `quickstart` plugin:
|
|||
=== "Using kind"
|
||||
|
||||
|
||||
1. Install Knative and Kubernetes on a local Docker daemon by running:
|
||||
1. Install Knative and Kubernetes using [kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) by running:
|
||||
|
||||
```bash
|
||||
kn quickstart kind
|
||||
|
@ -117,7 +112,7 @@ To get a local deployment of Knative, run the `quickstart` plugin:
|
|||
|
||||
=== "Using minikube"
|
||||
|
||||
1. Install Knative and Kubernetes in a minikube instance by running:
|
||||
1. Install Knative and Kubernetes in a [minikube](https://minikube.sigs.k8s.io/docs/start/) instance by running:
|
||||
|
||||
!!! note
|
||||
The minikube cluster will be created with 6 GB of RAM. If you don't have enough memory, you can change to a
|
||||
|
|
Loading…
Reference in New Issue