From 1621d8a3b5f1138544ad2e483a174f428c435dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Palet?= Date: Thu, 7 Mar 2024 14:43:09 +0000 Subject: [PATCH 1/2] Add APT installation instructions to the guide --- INSTALLATION.md | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/INSTALLATION.md b/INSTALLATION.md index 7b6389557..87a7ef8cb 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -20,11 +20,38 @@ brew install stackit ### Linux -We are working on distributing the CLI using a package manager for Linux. For the moment, you can either install via [Homebrew](https://brew.sh/) or refer to one of the installation methods below. +#### Debian/Ubuntu (`APT`) + +The STACKIT CLI can be installed through the [`APT`](https://ubuntu.com/server/docs/package-management) package manager. + +1. Import the STACKIT public key: + +```shell +curl https://object.storage.eu01.onstackit.cloud/stackit-public-key/key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/stackit.gpg +``` + +2. Add the STACKIT CLI package repository as a package source: + +```shell +echo "deb [signed-by=/usr/share/keyrings/stackit.gpg] https://object.storage.eu01.onstackit.cloud/stackit-cli-apt stackit main" | sudo tee -a /etc/apt/sources.list.d/stackit.list +``` + +3. Update repository information and install the `stackit` package: + +```shell +sudo apt-get update +sudo apt-get install stackit +``` + +#### Any + +Alternatively, you can install via [Homebrew](https://brew.sh/) or refer to one of the installation methods below. + +> We are currently working on distributing the CLI on more package managers for Linux. ### Windows -We are working on distributing the CLI using a package manager for Windows. For the moment, please refer to one of the installation methods below. +> We are currently working on distributing the CLI on a package manager for Windows. For the moment, please refer to one of the installation methods below. ## Manual installation From eeca9058688e2ec9fdc56667e17553ca0b1c8987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Palet?= Date: Thu, 7 Mar 2024 15:19:11 +0000 Subject: [PATCH 2/2] Improve clarity --- INSTALLATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALLATION.md b/INSTALLATION.md index 87a7ef8cb..12704cf03 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -43,7 +43,7 @@ sudo apt-get update sudo apt-get install stackit ``` -#### Any +#### Any distribution Alternatively, you can install via [Homebrew](https://brew.sh/) or refer to one of the installation methods below.