@@ -9,9 +9,13 @@ There are a number of different ways to install Coder, depending on your needs.
9
9
10
10
<div class =" tabs " >
11
11
12
- ## Install Script (Linux and macOS)
12
+ ## Linux
13
+
14
+ <div class =" tabs " >
13
15
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
15
19
[ install script] ( https://github.com/coder/coder/blob/main/install.sh ) .
16
20
17
21
``` shell
@@ -31,34 +35,16 @@ for reference:
31
35
curl -fsSL https://coder.com/install.sh | sh -s -- --help
32
36
```
33
37
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
38
39
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 ) .
41
42
42
43
``` shell
43
44
brew install coder/coder/coder
44
45
```
45
46
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
62
48
63
49
Coder officially maintains packages for the following Linux distributions:
64
50
@@ -108,7 +94,7 @@ sudo apk add ./coder.apk
108
94
109
95
## Manual
110
96
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
112
98
manually.
113
99
114
100
1 . Download the
@@ -119,16 +105,82 @@ manually.
119
105
location that's on your ` PATH `
120
106
121
107
``` shell
122
- # ex. macOS and Linux
123
108
mv coder /usr/local/bin
124
109
```
125
110
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
+
126
176
> Windows users: see
127
177
> [ this guide] ( https://answers.microsoft.com/en-us/windows/forum/all/adding-path-variable/97300613-20cb-4d85-8d0e-cc9d3549ba23 )
128
178
> for adding folders to ` PATH ` .
129
179
130
180
</div >
131
181
182
+ </div >
183
+
132
184
## Verify installation
133
185
134
186
Verify that the installation was successful by opening a new terminal and
0 commit comments