Skip to content

Commit 2a651a6

Browse files
committed
fmt
1 parent b8aa0f8 commit 2a651a6

File tree

1 file changed

+43
-52
lines changed

1 file changed

+43
-52
lines changed

docs/install/index.md

Lines changed: 43 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -66,66 +66,57 @@ Coder officially maintains packages for the following Linux distributions:
6666
- .rpm (Fedora, CentOS, RHEL, SUSE)
6767
- .apk (Alpine)
6868

69-
<div class="tabs">
69+
<div class="tabs">
70+
71+
## Debian, Ubuntu
72+
73+
Get the latest `.deb` package from our
74+
[GitHub releases](https://github.com/coder/coder/releases/latest) and install it
75+
manually or use the following commands to download and install the latest `.deb`
76+
package.
7077

71-
## Debian, Ubuntu
72-
73-
Get the latest `.deb` package from our
74-
[GitHub releases](https://github.com/coder/coder/releases/latest) and install
75-
it manually or use the following commands to download and install the latest
76-
`.deb` package.
77-
78-
```shell
79-
# Download the latest .deb package from GitHub releases
80-
URL=$(curl -s https://api.github.com/repos/coder/coder/releases/latest | jq -r '.assets[] | select(.name | endswith("linux_amd64.deb")) | .browser_download_url')
81-
curl -fsSL $URL -o coder.deb
82-
# Install the package
83-
sudo apt install ./coder.deb
84-
```
85-
86-
## Fedora, CentOS, RHEL, SUSE
87-
88-
Get the latest `.rpm` package from our
89-
[GitHub releases](https://github.com/coder/coder/releases/latest) and install
90-
it manually or use the following commands to download and install the latest
91-
`.rpm` package.
92-
93-
```shell
94-
# Download the latest .rpm package from GitHub releases
95-
URL=$(curl -s https://api.github.com/repos/coder/coder/releases/latest | jq -r '.assets[] | select(.name | endswith("linux_amd64.rpm")) | .browser_download_url')
96-
curl -fsSL $URL -o coder.rpm
97-
# Install the package
98-
sudo yum install ./coder.rpm
99-
```
100-
101-
## Alpine
102-
103-
Get the latest `.apk` package from our
104-
[GitHub releases](https://github.com/coder/coder/releases/latest) and install
105-
it manually or use the following commands to download and install the latest
106-
`.apk` package.
107-
108-
```shell
109-
# Download the latest .apk package from GitHub releases
110-
URL=$(curl -s https://api.github.com/repos/coder/coder/releases/latest | jq -r '.assets[] | select(.name | endswith("linux_amd64.apk")) | .browser_download_url')
111-
curl -fsSL $URL -o coder.apk
112-
# Install the package
113-
sudo apk add ./coder.apk
114-
```
115-
116-
</div>
78+
```shell
79+
# Install the package
80+
sudo apt install ./coder.deb
81+
```
82+
83+
## Fedora, CentOS, RHEL, SUSE
84+
85+
Get the latest `.rpm` package from our
86+
[GitHub releases](https://github.com/coder/coder/releases/latest) and install it
87+
manually or use the following commands to download and install the latest `.rpm`
88+
package.
89+
90+
```shell
91+
# Install the package
92+
sudo yum install ./coder.rpm
93+
```
94+
95+
## Alpine
96+
97+
Get the latest `.apk` package from our
98+
[GitHub releases](https://github.com/coder/coder/releases/latest) and install it
99+
manually or use the following commands to download and install the latest `.apk`
100+
package.
101+
102+
```shell
103+
# Install the package
104+
sudo apk add ./coder.apk
105+
```
106+
107+
</div>
117108

118109
## Manual
119110

120111
Retrieve the latest release from our GitHub releases page and install it
121112
manually.
122113

123-
1. Download the
124-
[release archive](https://github.com/coder/coder/releases/latest)
125-
appropriate for your operating system
114+
1. Download the
115+
[release archive](https://github.com/coder/coder/releases/latest) appropriate
116+
for your operating system
126117

127-
2. Unzip the folder you just downloaded, and move the `coder` executable to a
128-
location that's on your `PATH`
118+
2. Unzip the folder you just downloaded, and move the `coder` executable to a
119+
location that's on your `PATH`
129120

130121
```shell
131122
# ex. macOS and Linux

0 commit comments

Comments
 (0)