From b7c3ffee60a537df3c65f97e740ed53278aa9112 Mon Sep 17 00:00:00 2001 From: Stanislas Date: Tue, 10 Mar 2020 11:17:55 +0100 Subject: [PATCH] doc: add sudo to chmod command during instal (#756) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 71e49fdf1a..77ebefbd7d 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # Download the release from github -sudo curl -o /usr/local/bin/scw -L "https://github.com/scaleway/scaleway-cli/releases/download/v2.0.0-beta.1/scw-v2.0.0-beta.1-darwin-x86_64" +curl -o /usr/local/bin/scw -L "https://github.com/scaleway/scaleway-cli/releases/download/v2.0.0-beta.1/scw-v2.0.0-beta.1-darwin-x86_64" # Allow executing file as program chmod +x /usr/local/bin/scw @@ -86,7 +86,7 @@ scw init sudo curl -o /usr/local/bin/scw -L "https://github.com/scaleway/scaleway-cli/releases/download/v2.0.0-beta.1/scw-v2.0.0-beta.1-linux-x86_64" # Allow executing file as program -chmod +x /usr/local/bin/scw +sudo chmod +x /usr/local/bin/scw # Init the CLI scw init