From 34987df0107436379fc23b4de2e30aedf9515594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=89VEIL?= Date: Wed, 15 Mar 2017 20:22:08 +0100 Subject: [PATCH] README: optimize install instructions --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c041c9b..573243d 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,7 @@ Fetch the [latest release](https://github.com/bcicen/ctop/releases) for your pla #### Linux ```bash -wget https://github.com/bcicen/ctop/releases/download/v0.5/ctop-0.5-linux-amd64 -O ctop -sudo mv ctop /usr/local/bin/ +sudo wget https://github.com/bcicen/ctop/releases/download/v0.5/ctop-0.5-linux-amd64 -O /usr/local/bin/ctop sudo chmod +x /usr/local/bin/ctop ``` @@ -30,8 +29,7 @@ brew install ctop ``` or ```bash -curl -Lo ctop https://github.com/bcicen/ctop/releases/download/v0.5/ctop-0.5-darwin-amd64 -sudo mv ctop /usr/local/bin/ +sudo curl -Lo /usr/local/bin/ctop https://github.com/bcicen/ctop/releases/download/v0.5/ctop-0.5-darwin-amd64 sudo chmod +x /usr/local/bin/ctop ```