mirror of https://github.com/kubernetes/kops.git
using sudo for removing kops executable file
This commit is contained in:
parent
412ed66f9b
commit
9350482c6e
|
|
@ -13,7 +13,7 @@ brew update && brew upgrade kops
|
||||||
From Github:
|
From Github:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rm -rf /usr/local/bin/kops
|
sudo rm -rf /usr/local/bin/kops
|
||||||
wget -O kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-darwin-amd64
|
wget -O kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-darwin-amd64
|
||||||
chmod +x ./kops
|
chmod +x ./kops
|
||||||
sudo mv ./kops /usr/local/bin/
|
sudo mv ./kops /usr/local/bin/
|
||||||
|
|
@ -26,7 +26,7 @@ You can also rerun [these steps](../development/building.md) if previously built
|
||||||
From Github:
|
From Github:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rm -rf /usr/local/bin/kops
|
sudo rm -rf /usr/local/bin/kops
|
||||||
wget -O kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-linux-amd64
|
wget -O kops https://github.com/kubernetes/kops/releases/download/$(curl -s https://api.github.com/repos/kubernetes/kops/releases/latest | grep tag_name | cut -d '"' -f 4)/kops-linux-amd64
|
||||||
chmod +x ./kops
|
chmod +x ./kops
|
||||||
sudo mv ./kops /usr/local/bin/
|
sudo mv ./kops /usr/local/bin/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue