Pawel Wieczorek | a65cd1c | 2019-06-27 17:49:21 +0200 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
2 | |||||
3 | # Prerequistes | ||||
4 | wget https://releases.rancher.com/cli/v0.6.12/rancher-linux-amd64-v0.6.12.tar.gz | ||||
5 | tar xf rancher-linux-amd64-v0.6.12.tar.gz | ||||
6 | |||||
7 | # Installation | ||||
8 | echo '# Privilege elevation needed to move Rancher CLI binary to /usr/local/bin' | ||||
9 | sudo mv rancher-v0.6.12/rancher /usr/local/bin/ | ||||
10 | |||||
11 | # Cleanup | ||||
12 | rmdir rancher-v0.6.12/ | ||||
13 | rm rancher-linux-amd64-v0.6.12.tar.gz |