diff --git a/docs/snippets/install-kn.md b/docs/snippets/install-kn.md index beb700338..f0c300fb7 100644 --- a/docs/snippets/install-kn.md +++ b/docs/snippets/install-kn.md @@ -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}. diff --git a/docs/snippets/quickstart-install.md b/docs/snippets/quickstart-install.md index 09045877a..ee2e7f5c1 100644 --- a/docs/snippets/quickstart-install.md +++ b/docs/snippets/quickstart-install.md @@ -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