@@ -65,19 +65,59 @@ For node version, check out [scaleway-cli-node](https://github.com/moul/scaleway
6565
6666## Setup
6767
68- To install Scaleway CLI 1.3.0, run the following commands:
68+ We recommend to use the latest version, using:
69+
70+ ``` shell
71+ go get -u github.com/scaleway/scaleway-cli/cmd/scw
72+ ```
73+
74+ or
75+
76+ ``` shell
77+ brew install " https://raw.githubusercontent.com/scaleway/scaleway-cli/master/contrib/builder/homebrew/scw.rb" --HEAD
78+ ```
79+
80+ ---
81+
82+ To install a release, checkout the [ latest release page] ( https://github.com/scaleway/scaleway-cli/releases/latest ) .
83+
84+ Install the latest stable release on Mac OS X using [ Homebrew] ( http://brew.sh ) :
6985
7086``` bash
71- curl -L https://github.com/scaleway/scaleway-cli/releases/download/v1.3.0/scw-` uname -s` -` uname -m` > /usr/local/bin/scw
72- chmod +x /usr/local/bin/scw
87+ brew install scw
7388```
7489
75- To install Scaleway CLI master git, run the following command :
90+ Install the latest stable release on Mac OS X manually :
7691
7792``` bash
78- go get github.com/scaleway/scaleway-cli/...
93+ # prepare for forst install and upgrade
94+ mkdir -p /usr/local/bin
95+ mv /usr/local/bin/scw /tmp/scw.old
96+
97+ # get latest release
98+ export VERSION=v1.4.0-rc1
99+ wget " https://github.com/scaleway/scaleway-cli/releases/download/${VERSION} /scw_${VERSION} _darwin_amd64.zip" -O /tmp/scw.zip
100+ unzip /tmp/scw.zip \* /scw -d /tmp
101+ mv /tmp/scw_* /scw /usr/local/bin
102+ rm -rf /tmp/scw.zip /tmp/scw_* _darwin_amd64
103+
104+ # test
105+ scw version
79106```
80107
108+ Install the latest release on Linux:
109+
110+ ``` bash
111+ # get latest release
112+ export ARCH=amd64 # can be 'i386', 'amd64' or 'arm'
113+ wget " https://github.com/scaleway/scaleway-cli/releases/download/v1.4.0-rc1/scw_v1.4.0-rc1_${ARCH} .deb" -O /tmp/scw.deb
114+ dpkg -i /tmp/scw.deb && rm -f /tmp/scw.deb
115+
116+ # test
117+ scw version
118+ ```
119+
120+
81121### Requirements
82122
83123By using the [ static-compiled release binaries] ( https://github.com/scaleway/scaleway-cli/releases/latest ) , you only needs to have one of the following platform+architecture :
@@ -1056,6 +1096,7 @@ $ scw inspect myserver | jq '.[0].public_ip.address'
10561096* Sorting cache search by Levenshtein distance ([ #87 ] ( https://github.com/scaleway/scaleway-cli/issues/87 ) )
10571097* Allow set up api endpoint using the environment variable $scaleway_api_endpoint
10581098* Use TLS and verify can now be disabled using ` SCALEWAY_TLSVERIFY=0 ` env var ([ #115 ] ( https://github.com/scaleway/scaleway-cli/issues/115 ) )
1099+ * Switched to ` goxc ` for releases
10591100
10601101#### Fixes
10611102
0 commit comments