andrejsstepanovs

install rke

Nov 4th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. curl -s https://api.github.com/repos/rancher/rke/releases/latest | grep download_url | grep amd64 | cut -d '"' -f 4 | wget -qi -
  4.  
  5. chmod +x rke_linux-amd64
  6. sudo mv rke_linux-amd64 /usr/local/bin/rke
  7. rke --version
  8.  
Add Comment
Please, Sign In to add comment