2020-10-07 00:29:53 +03:00
|
|
|
# code-server · [!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/cdr/code-server/discussions) [!["Join us on Slack"](https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen)](https://cdr.co/join-community) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq)
|
2019-01-08 03:46:19 +03:00
|
|
|
|
2021-04-27 00:13:02 +03:00
|
|
|
[![codecov](https://codecov.io/gh/cdr/code-server/branch/main/graph/badge.svg?token=5iM9farjnC)](https://codecov.io/gh/cdr/code-server)
|
2021-05-22 02:04:55 +03:00
|
|
|
[![See latest docs](https://img.shields.io/static/v1?label=Docs&message=see%20latest%20&color=blue)](https://github.com/cdr/code-server/tree/v3.10.2/docs)
|
2021-01-25 20:34:51 +03:00
|
|
|
|
2020-05-17 23:53:08 +03:00
|
|
|
Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and access it in the browser.
|
2019-03-06 04:45:21 +03:00
|
|
|
|
2021-02-03 19:32:35 +03:00
|
|
|
![Screenshot](./docs/assets/screenshot.png)
|
2020-05-22 05:16:16 +03:00
|
|
|
|
|
|
|
## Highlights
|
|
|
|
|
2020-10-30 00:21:47 +03:00
|
|
|
- Code on any device with a consistent development environment
|
|
|
|
- Use cloud servers to speed up tests, compilations, downloads, and more
|
|
|
|
- Preserve battery life when you're on the go; all intensive tasks run on your server
|
2020-05-12 08:46:38 +03:00
|
|
|
|
2021-02-10 08:41:36 +03:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
For a good experience, we recommend at least:
|
|
|
|
|
|
|
|
- 1 GB of RAM
|
|
|
|
- 2 cores
|
|
|
|
|
|
|
|
You can use whatever linux distribution floats your boat but in our [guide](./docs/guide.md) we assume Debian on Google Cloud.
|
|
|
|
|
2020-05-18 03:47:33 +03:00
|
|
|
## Getting Started
|
2020-05-12 08:46:38 +03:00
|
|
|
|
2021-03-09 00:24:35 +03:00
|
|
|
There are three ways you can get started:
|
2020-05-12 08:46:38 +03:00
|
|
|
|
2020-10-30 00:21:47 +03:00
|
|
|
1. Using the [install script](./install.sh), which automates most of the process. The script uses the system package manager (if possible)
|
2021-02-03 19:32:35 +03:00
|
|
|
2. Manually installing code-server; see [Installation](./docs/install.md) for instructions applicable to most use cases
|
2021-03-09 02:58:43 +03:00
|
|
|
3. Use our one-click buttons and guides to [deploy code-server to a popular cloud provider](https://github.com/cdr/deploy-code-server) ⚡
|
2020-06-04 23:31:01 +03:00
|
|
|
|
2020-10-30 00:21:47 +03:00
|
|
|
If you choose to use the install script, you can preview what occurs during the install process:
|
2020-05-20 06:41:28 +03:00
|
|
|
|
|
|
|
```bash
|
2020-05-27 22:48:03 +03:00
|
|
|
curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
|
2020-05-21 22:17:02 +03:00
|
|
|
```
|
2019-09-18 21:21:38 +03:00
|
|
|
|
2020-10-30 00:21:47 +03:00
|
|
|
To install, run:
|
2020-05-12 08:46:38 +03:00
|
|
|
|
|
|
|
```bash
|
2020-05-22 00:10:29 +03:00
|
|
|
curl -fsSL https://code-server.dev/install.sh | sh
|
2020-05-12 08:46:38 +03:00
|
|
|
```
|
|
|
|
|
2020-10-30 00:21:47 +03:00
|
|
|
When done, the install script prints out instructions for running and starting code-server.
|
2020-05-22 22:38:03 +03:00
|
|
|
|
2021-02-03 19:32:35 +03:00
|
|
|
We also have an in-depth [setup and configuration](./docs/guide.md) guide.
|
2020-05-21 22:17:02 +03:00
|
|
|
|
2021-03-09 02:58:43 +03:00
|
|
|
### code-server --link
|
2020-10-21 23:45:53 +03:00
|
|
|
|
2020-11-17 01:18:12 +03:00
|
|
|
We're working on a cloud platform that makes deploying and managing code-server easier.
|
2020-12-09 02:38:20 +03:00
|
|
|
Consider running code-server with the beta flag `--link` if you don't want to worry about
|
2020-10-14 02:25:09 +03:00
|
|
|
|
2020-10-21 23:45:53 +03:00
|
|
|
- TLS
|
|
|
|
- Authentication
|
|
|
|
- Port Forwarding
|
2020-10-14 02:25:09 +03:00
|
|
|
|
2020-11-04 02:23:41 +03:00
|
|
|
```bash
|
|
|
|
$ code-server --link
|
2021-03-17 05:59:30 +03:00
|
|
|
Proxying code-server, you can access your IDE at https://valmar-jon.cdr.co
|
2020-11-04 02:23:41 +03:00
|
|
|
```
|
|
|
|
|
2020-02-19 03:07:01 +03:00
|
|
|
## FAQ
|
2019-10-23 19:49:05 +03:00
|
|
|
|
2021-02-03 19:32:35 +03:00
|
|
|
See [./docs/FAQ.md](./docs/FAQ.md).
|
2019-01-08 03:46:19 +03:00
|
|
|
|
2020-10-30 00:21:47 +03:00
|
|
|
## Want to help?
|
2020-03-20 00:53:31 +03:00
|
|
|
|
2021-02-03 19:32:35 +03:00
|
|
|
See [CONTRIBUTING](./docs/CONTRIBUTING.md) for details.
|
2020-03-20 00:53:31 +03:00
|
|
|
|
2020-06-10 01:10:28 +03:00
|
|
|
## Hiring
|
|
|
|
|
2021-03-17 23:43:57 +03:00
|
|
|
Interested in [working at Coder](https://coder.com)? Check out [our open positions](https://jobs.lever.co/coder)!
|
2020-08-29 01:39:51 +03:00
|
|
|
|
2020-07-29 20:37:19 +03:00
|
|
|
## For Organizations
|
2019-09-27 17:39:29 +03:00
|
|
|
|
2021-06-21 18:51:55 +03:00
|
|
|
Want remote development for your organization or enterprise? Visit
|
|
|
|
[our website](https://coder.com) to learn more about Coder.
|