You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can install code-server via [Helm](https://github.com/cdr/code-server/blob/main/ci/helm-chart/README.md).
238
228
229
+
## Windows
230
+
231
+
We currently [do not publish Windows releases](https://github.com/cdr/code-server/issues/1397). We recommend installing code-server onto Windows with [`yarn` or `npm`](#yarn-npm).
232
+
233
+
> Note: You will also need to [build cdr/cloud-agent manually](https://github.com/cdr/cloud-agent/issues/17) if you would like to use `code-server --link` on Windows.
234
+
239
235
## Raspberry Pi
240
236
241
237
We recommend installing code-server onto Raspberry Pi with [`yarn` or
Installing code-server requires all of the [prerequisites for VS Code development](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites). When installing the C++ compiler tool chain, we recommend using "Option 2: Visual Studio 2019" for best results.
83
+
84
+
Next, install code-server with:
85
+
86
+
```bash
87
+
yarn global add code-server
88
+
# Or: npm install -g code-server
89
+
code-server
90
+
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
91
+
```
92
+
93
+
A `postinstall.sh` script will attempt to run. Select your terminal (e.g., Git bash) as the default application for `.sh` files. If an additional dialog does not appear, run the install command again.
94
+
95
+
If the `code-server` command is not found, you'll need to [add a directory to your PATH](https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/). To find the directory, use the following command:
96
+
97
+
```shell
98
+
yarn global bin
99
+
# Or: npm config get prefix
100
+
```
101
+
102
+
For help and additional troubleshooting, see [#1397](https://github.com/cdr/code-server/issues/1397).
103
+
104
+
## Installing
105
+
106
+
After adding the dependencies for your OS, install the code-server package globally:
107
+
108
+
```bash
109
+
yarn global add code-server
110
+
# Or: npm install -g code-server
111
+
code-server
112
+
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
113
+
```
114
+
115
+
## Troubleshooting
116
+
117
+
If you need further assistance, post on our [GitHub Discussions
0 commit comments