Skip to content

Commit

Permalink
Use a single command in Linux install instructions
Browse files Browse the repository at this point in the history
cURL and Wget are both great commands, but the Linux install instructions should stick to just using one.

Similar to #5901, which changed this for MacOS.
  • Loading branch information
jbowes committed Nov 15, 2018
1 parent fb40ef7 commit 3f231b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You can also [install from source](development/building.md).
From Github:

```bash
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
curl -Lo 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
sudo mv ./kops /usr/local/bin/
```
Expand Down Expand Up @@ -58,7 +58,7 @@ sudo mv ./kubectl /usr/local/bin/kubectl
From the [official kubernetes kubectl release](https://kubernetes.io/docs/tasks/tools/install-kubectl/):

```
wget -O kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
```
Expand Down

0 comments on commit 3f231b3

Please sign in to comment.