Skip to content

Commit

Permalink
doc: add sudo to chmod command during instal (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan authored Mar 10, 2020
1 parent 4ea6c89 commit b7c3ffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b7c3ffe

Please sign in to comment.