update kn + quickstart installs for consistency (#5700)

This commit is contained in:
Micah Gafford 2023-09-28 16:38:33 -04:00 committed by GitHub
parent 05746c66ec
commit d79909862f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 15 deletions

View File

@ -45,13 +45,13 @@ The `kn` CLI also simplifies completion of otherwise complex procedures such as
Where `<path-to-binary-file>` is the path to the binary file you downloaded in the previous step, for example, `kn-darwin-amd64` or `kn-linux-amd64`.
1. Move the executable binary file to a directory on your PATH by running the command:
1. Move the executable binary file to a directory on your `PATH` by running the command:
```bash
mv kn /usr/local/bin
```
1. Verify that the plugin is working by running the command:
1. Verify that `kn` commands are working properly. For example:
```bash
kn version
@ -61,22 +61,28 @@ The `kn` CLI also simplifies completion of otherwise complex procedures such as
1. Check out the `kn` client repository:
```bash
git clone https://github.com/knative/client.git
cd client/
```
```bash
git clone https://github.com/knative/client.git
cd client/
```
1. Build an executable binary:
```bash
hack/build.sh -f
```
```bash
hack/build.sh -f
```
1. Move `kn` into your system path, and verify that `kn` commands are working properly. For example:
1. Move the executable binary file to a directory on your `PATH` by running the command:
```bash
kn version
```
```bash
mv kn /usr/local/bin
```
1. Verify that `kn` commands are working properly. For example:
```bash
kn version
```
=== "Using a container image"

View File

@ -50,13 +50,13 @@ To get started, install the Knative `quickstart` plugin:
hack/build.sh
```
1. Move the executable binary file to a directory on your `PATH`:
1. Move the executable binary file to a directory on your `PATH` by running the command:
```bash
mv kn-quickstart /usr/local/bin
```
1. Verify that the plugin is working by running the command:
1. Verify that the plugin is working by running the command:
```bash
kn quickstart --help