Skip to content

Commit 1ab9639

Browse files
committed
Reorganize in three primary tabs
1 parent 2a651a6 commit 1ab9639

File tree

1 file changed

+78
-26
lines changed

1 file changed

+78
-26
lines changed

docs/install/index.md

Lines changed: 78 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ There are a number of different ways to install Coder, depending on your needs.
99

1010
<div class="tabs">
1111

12-
## Install Script (Linux and macOS)
12+
## Linux
13+
14+
<div class="tabs">
1315

14-
The easiest way to install Coder on Linux and macOS is to use our
16+
## Install Script
17+
18+
The easiest way to install Coder on Linux is to use our
1519
[install script](https://github.com/coder/coder/blob/main/install.sh).
1620

1721
```shell
@@ -31,34 +35,16 @@ for reference:
3135
curl -fsSL https://coder.com/install.sh | sh -s -- --help
3236
```
3337

34-
## Homebrew (macOS and Linux)
35-
36-
To install Coder on macOS and Linux, you can use the
37-
[Homebrew](https://brew.sh/) package manager.
38+
## Homebrew
3839

39-
Install Coder from our official
40-
[Homebrew tap](https://github.com/coder/homebrew-coder)
40+
To install Coder on Linux, you can use the [Homebrew](https://brew.sh/) package
41+
manager that uses our official [Homebrew tap](github.com/coder/homebrew-coder).
4142

4243
```shell
4344
brew install coder/coder/coder
4445
```
4546

46-
## Windows
47-
48-
To install Coder on Windows, you can use the
49-
[`winget`](https://learn.microsoft.com/en-us/windows/package-manager/winget/#use-winget)
50-
package manager
51-
52-
```powershell
53-
winget install Coder.Coder
54-
```
55-
56-
<!-- TODO: Replace with direct link to windows installer after we have https://github.com/coder/coder.com/issues/382 -->
57-
58-
Or you can use the windows installer from our
59-
[GitHub releases](https://github.com/coder/coder/releases/latest)
60-
61-
## Linux
47+
## System Packages
6248

6349
Coder officially maintains packages for the following Linux distributions:
6450

@@ -108,7 +94,7 @@ sudo apk add ./coder.apk
10894

10995
## Manual
11096

111-
Retrieve the latest release from our GitHub releases page and install it
97+
Get the latest `.tar.gz` package from our GitHub releases page and install it
11298
manually.
11399

114100
1. Download the
@@ -119,16 +105,82 @@ manually.
119105
location that's on your `PATH`
120106

121107
```shell
122-
# ex. macOS and Linux
123108
mv coder /usr/local/bin
124109
```
125110

111+
</div>
112+
113+
## macOS
114+
115+
<div class="tabs">
116+
117+
## Homebrew
118+
119+
To install Coder on macOS, you can use the [Homebrew](https://brew.sh/) package
120+
manager that uses our official
121+
[Homebrew tap](https://github.com/coder/homebrew-coder).
122+
123+
```shell
124+
brew install coder/coder/coder
125+
```
126+
127+
## Install Script
128+
129+
The easiest way to install Coder on macOS is to use our
130+
[install script](https://github.com/coder/coder/blob/main/install.sh).
131+
132+
```shell
133+
curl -fsSL https://coder.com/install.sh | sh
134+
```
135+
136+
You can preview what occurs during the install process:
137+
138+
```shell
139+
curl -fsSL https://coder.com/install.sh | sh -s -- --dry-run
140+
```
141+
142+
You can modify the installation process by including flags. Run the help command
143+
for reference:
144+
145+
```shell
146+
curl -fsSL https://coder.com/install.sh | sh -s -- --help
147+
```
148+
149+
</div>
150+
151+
## Windows
152+
153+
<div class="tabs">
154+
155+
## Winget
156+
157+
To install Coder on Windows, you can use the
158+
[`winget`](https://learn.microsoft.com/en-us/windows/package-manager/winget/#use-winget)
159+
package manager.
160+
161+
```powershell
162+
winget install Coder.Coder
163+
```
164+
165+
## Installer
166+
167+
Download the Windows installer from our
168+
[GitHub releases](https://github.com/coder/coder/releases/latest) and install
169+
it.
170+
171+
## Manual
172+
173+
Get the latest `.zip` package from our GitHub releases page and extract it to a
174+
location that's on your `PATH` or add the extracted binary to your `PATH`.
175+
126176
> Windows users: see
127177
> [this guide](https://answers.microsoft.com/en-us/windows/forum/all/adding-path-variable/97300613-20cb-4d85-8d0e-cc9d3549ba23)
128178
> for adding folders to `PATH`.
129179
130180
</div>
131181

182+
</div>
183+
132184
## Verify installation
133185

134186
Verify that the installation was successful by opening a new terminal and

0 commit comments

Comments
 (0)