@@ -22,11 +22,10 @@ Krew self-hosts).
22
22
``` sh
23
23
(
24
24
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" &&
26
26
tar zxvf krew.tar.gz &&
27
27
KREW=./krew-" $( uname | tr ' [:upper:]' ' [:lower:]' ) _amd64" &&
28
- " $KREW " install --manifest=krew.yaml --archive=krew.tar.gz &&
29
- " $KREW " update
28
+ " $KREW " install krew
30
29
)
31
30
```
32
31
@@ -49,11 +48,10 @@ Krew self-hosts).
49
48
` ` ` fish
50
49
begin
51
50
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" &&
53
52
tar zxvf krew.tar.gz &&
54
53
set KREWNAME krew-(uname | tr ' [:upper:]' ' [:lower:]' )_amd64 &&
55
- ./$KREWNAME install \
56
- --manifest=krew.yaml --archive=krew.tar.gz &&
54
+ ./$KREWNAME install krew &&
57
55
set -e KREWNAME; set -e temp_dir
58
56
end
59
57
` ` `
@@ -72,14 +70,12 @@ Krew self-hosts).
72
70
# # Windows {#windows}
73
71
74
72
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.
77
74
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:
80
76
81
77
` ` ` sh
82
- krew install --manifest= krew.yaml
78
+ krew install krew
83
79
` ` `
84
80
85
81
1. Add ` %USERPROFILE%\. krew\b in` directory to your ` PATH` environment variable
0 commit comments