Skip to content

Commit 1d77a88

Browse files
authored
Merge pull request #31355 from Babapool/fix-binary-path
Mention the kubectl binary folder as PATH environment variable
2 parents eb59e0b + be56556 commit 1d77a88

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/en/docs/tasks/tools/install-kubectl-linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ For example, to download version {{< param "fullversion" >}} on Linux, type:
8585
chmod +x kubectl
8686
mkdir -p ~/.local/bin/kubectl
8787
mv ./kubectl ~/.local/bin/kubectl
88-
# and then add ~/.local/bin/kubectl to $PATH
88+
# and then append (or prepend) ~/.local/bin to $PATH
8989
```
9090

9191
{{< /note >}}

content/en/docs/tasks/tools/install-kubectl-windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The following methods exist for installing kubectl on Windows:
5959
$($(CertUtil -hashfile .\kubectl.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl.exe.sha256)
6060
```
6161
62-
1. Add the binary in to your `PATH`.
62+
1. Append or prepend the kubectl binary folder to your `PATH` environment variable.
6363
6464
1. Test to ensure the version of `kubectl` is the same as downloaded:
6565
@@ -172,7 +172,7 @@ Below are the procedures to set up autocompletion for PowerShell.
172172
$($(CertUtil -hashfile .\kubectl-convert.exe SHA256)[1] -replace " ", "") -eq $(type .\kubectl-convert.exe.sha256)
173173
```
174174
175-
1. Add the binary in to your `PATH`.
175+
1. Append or prepend the kubectl binary folder to your `PATH` environment variable.
176176
177177
1. Verify plugin is successfully installed
178178

0 commit comments

Comments
 (0)