Skip to content

Commit ecee7b7

Browse files
authored
Re-add APT installation instructions with new domain (#195)
* Revert "Temporarily remove APT installation instructions from guide (#162)" This reverts commit 64faf39. * Replace APT repo URL
1 parent 09252ea commit ecee7b7

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

INSTALLATION.md

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

2121
### Linux
2222

23-
Currently, you can install via [Homebrew](https://brew.sh/) or refer to one of the installation methods below.
23+
#### Debian/Ubuntu (`APT`)
2424

25-
> We are currently working on distributing the CLI on package managers for Linux.
25+
The STACKIT CLI can be installed through the [`APT`](https://ubuntu.com/server/docs/package-management) package manager.
26+
27+
##### Before you begin
28+
29+
To install the STACKIT CLI package, you will need to have the `curl` and `gnupg` packages installed:
30+
31+
```shell
32+
sudo apt-get update
33+
sudo apt-get install curl gnupg
34+
```
35+
36+
##### Installing
37+
38+
1. Import the STACKIT public key:
39+
40+
```shell
41+
curl https://packages.stackit.cloud/keys/key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/stackit.gpg
42+
```
43+
44+
2. Add the STACKIT CLI package repository as a package source:
45+
46+
```shell
47+
echo "deb [signed-by=/usr/share/keyrings/stackit.gpg] https://packages.stackit.cloud/apt/cli stackit main" | sudo tee -a /etc/apt/sources.list.d/stackit.list
48+
```
49+
50+
3. Update repository information and install the `stackit` package:
51+
52+
```shell
53+
sudo apt-get update
54+
sudo apt-get install stackit
55+
```
56+
57+
#### Any distribution
58+
59+
Alternatively, you can install via [Homebrew](https://brew.sh/) or refer to one of the installation methods below.
60+
61+
> We are currently working on distributing the CLI on more package managers for Linux.
2662
2763
### Windows
2864

0 commit comments

Comments
 (0)