From fa78862bd1e93fd8416ab76c4a059845da225803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Qu=C3=A9r=C3=A9?= Date: Thu, 13 Feb 2020 17:04:53 +0100 Subject: [PATCH 1/9] doc: update readme --- README.md | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index e7bc0c19a5..cd27fc556e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ # Scaleway CLI (v2) -**:warning: This version is under active development, keep in mind that things can break. We advise you to not use this version in production.** +**:warning: This version is under active development, keep in mind that things can break.** Scaleway is a single way to create, deploy and scale your infrastructure in the cloud. We help thousands of businesses to run their infrastructures easily. @@ -47,24 +47,31 @@ TODO: Add other package managers: ## Manually -### Compiled Release Binaries +### Released Binaries -We provide [static-compiled release binaries](https://github.com/scaleway/scaleway-cli/releases/latest) for darwin (macOS), GNU/Linux, and Windows platforms. +We provide [static-compiled binaries](https://github.com/scaleway/scaleway-cli/releases/latest) for darwin (macOS), GNU/Linux, and Windows platforms. + +#### Mac OS / Linux You just have to download the binary compatible with your platform to a directory available in your `PATH`: ```bash -# /usr/local/bin is in my PATH +# Check that /usr/local/bin is in your PATH echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -# With wget -wget "https://github.com/scaleway/scaleway-cli/releases/download/v2.0.0-alpha.1/scw-darwin-amd64" -O /usr/local/bin/scw +# Download the release from github +sudo curl -o /usr/local/bin/scw -L "https://github.com/scaleway/scaleway-cli/releases/download/v2.0.0-alpha1/scw-$(uname -s)-$(uname -m)" -# With curl -curl -o /usr/local/bin/scw -L https://github.com/scaleway/scaleway-cli/releases/download/v2.0.0-alpha.1/scw-darwin-amd64 +# Start configuration wizzard +scw init ``` -For Windows, [this official guide](https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ee537574(v=office.14)) explains how to add tools to your `PATH`. +#### Windows + +[This official guide](https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ee537574(v=office.14)) explains how to add tools to your `PATH`. +You can download the last release here: https://github.com/scaleway/scaleway-cli/releases/download/v2.0.0-alpha1/scw-Windows-x86_64 + +