Mention the kubectl binary folder as PATH environment variable
parent
2a55433557
commit
d8f4cefa59
|
@ -85,7 +85,7 @@ For example, to download version {{< param "fullversion" >}} on Linux, type:
|
||||||
chmod +x kubectl
|
chmod +x kubectl
|
||||||
mkdir -p ~/.local/bin/kubectl
|
mkdir -p ~/.local/bin/kubectl
|
||||||
mv ./kubectl ~/.local/bin/kubectl
|
mv ./kubectl ~/.local/bin/kubectl
|
||||||
# and then add ~/.local/bin/kubectl to $PATH
|
# and then add ~/.local/bin to $PATH
|
||||||
```
|
```
|
||||||
|
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
|
@ -59,7 +59,7 @@ The following methods exist for installing kubectl on Windows:
|
||||||
$($(CertUtil -hashfile .\kubectl.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl.exe.sha256)
|
$($(CertUtil -hashfile .\kubectl.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl.exe.sha256)
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Add the binary in to your `PATH`.
|
1. Add the binary's folder to your `PATH`.
|
||||||
|
|
||||||
1. Test to ensure the version of `kubectl` is the same as downloaded:
|
1. Test to ensure the version of `kubectl` is the same as downloaded:
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ Below are the procedures to set up autocompletion for PowerShell.
|
||||||
$($(CertUtil -hashfile .\kubectl-convert.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl-convert.exe.sha256)
|
$($(CertUtil -hashfile .\kubectl-convert.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl-convert.exe.sha256)
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Add the binary in to your `PATH`.
|
1. Add the binary's folder to your `PATH`.
|
||||||
|
|
||||||
1. Verify plugin is successfully installed
|
1. Verify plugin is successfully installed
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue