Skip to content

Commit b598063

Browse files
authored
Update installation instructions (#635)
* Update installation instructions * Remove extra line
1 parent 60d3f00 commit b598063

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

site/content/docs/user-guide/setup/install.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ Krew self-hosts).
2222
```sh
2323
(
2424
set -x; cd "$(mktemp -d)" &&
25-
curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/krew.{tar.gz,yaml}" &&
25+
curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/krew.tar.gz" &&
2626
tar zxvf krew.tar.gz &&
2727
KREW=./krew-"$(uname | tr '[:upper:]' '[:lower:]')_amd64" &&
28-
"$KREW" install --manifest=krew.yaml --archive=krew.tar.gz &&
29-
"$KREW" update
28+
"$KREW" install krew
3029
)
3130
```
3231

@@ -49,11 +48,10 @@ Krew self-hosts).
4948
```fish
5049
begin
5150
set -x; set temp_dir (mktemp -d); cd "$temp_dir" &&
52-
curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/krew.{tar.gz,yaml}" &&
51+
curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/krew.tar.gz" &&
5352
tar zxvf krew.tar.gz &&
5453
set KREWNAME krew-(uname | tr '[:upper:]' '[:lower:]')_amd64 &&
55-
./$KREWNAME install \
56-
--manifest=krew.yaml --archive=krew.tar.gz &&
54+
./$KREWNAME install krew &&
5755
set -e KREWNAME; set -e temp_dir
5856
end
5957
```
@@ -72,14 +70,12 @@ Krew self-hosts).
7270
## Windows {#windows}
7371

7472
1. Make sure `git` is installed on your system.
75-
1. Download `krew.exe` and `krew.yaml` from the [Releases][releases] page to
76-
a directory.
73+
1. Download `krew.exe` from the [Releases][releases] page to a directory.
7774
1. Launch a command-line window (`cmd.exe`) and navigate to that directory.
78-
1. Run the following command to install krew (pass the correct
79-
paths to `krew.yaml` and `krew.zip` below):
75+
1. Run the following command to install krew:
8076

8177
```sh
82-
krew install --manifest=krew.yaml
78+
krew install krew
8379
```
8480

8581
1. Add `%USERPROFILE%\.krew\bin` directory to your `PATH` environment variable

0 commit comments

Comments
 (0)