Skip to content

Commit 897804b

Browse files
authored
Add APT installation instructions to the guide (#126)
* Add APT installation instructions to the guide * Improve clarity
1 parent 59834bf commit 897804b

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

INSTALLATION.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,38 @@ brew install stackit
2020

2121
### Linux
2222

23-
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.
23+
#### Debian/Ubuntu (`APT`)
24+
25+
The STACKIT CLI can be installed through the [`APT`](https://ubuntu.com/server/docs/package-management) package manager.
26+
27+
1. Import the STACKIT public key:
28+
29+
```shell
30+
curl https://object.storage.eu01.onstackit.cloud/stackit-public-key/key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/stackit.gpg
31+
```
32+
33+
2. Add the STACKIT CLI package repository as a package source:
34+
35+
```shell
36+
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
37+
```
38+
39+
3. Update repository information and install the `stackit` package:
40+
41+
```shell
42+
sudo apt-get update
43+
sudo apt-get install stackit
44+
```
45+
46+
#### Any distribution
47+
48+
Alternatively, you can install via [Homebrew](https://brew.sh/) or refer to one of the installation methods below.
49+
50+
> We are currently working on distributing the CLI on more package managers for Linux.
2451
2552
### Windows
2653

27-
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.
54+
> 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.
2855
2956
## Manual installation
3057

0 commit comments

Comments
 (0)