Anmol Sethi 2020-05-21 17:19:22 -04:00
parent a40dabbd22
commit f117475970
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
3 changed files with 14 additions and 9 deletions

View File

@ -93,7 +93,6 @@ curl -fsSL https://code-server.dev/install.sh | sh
Docs on the install script, manual installation and docker instructions are at [./doc/install.md](./doc/install.md).
## 3. Expose code-server
**Never**, **ever** expose `code-server` directly to the internet without some form of authentication

View File

@ -2,6 +2,7 @@
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
# Install
- [install.sh](#installsh)
- [Debian, Ubuntu](#debian-ubuntu)
- [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse)
- [Arch Linux](#arch-linux)
@ -43,11 +44,13 @@ curl -fsSL https://code-server.dev/install.sh | sh
- For Fedora, CentOS, RHEL, openSUSE it will install the latest rpm package.
- For Arch Linux it will install the AUR package.
- For any unrecognized Linux operating system it will install the latest static release into ~/.local
- Add ~/.local/bin to your $PATH to run code-server.
- Add ~/.local/bin to your \$PATH to run code-server.
- For macOS it will install the Homebrew package.
- If Homebrew is not installed it will install the latest static release into ~/.local
- Add ~/.local/bin to your $PATH to run code-server.
- Add ~/.local/bin to your \$PATH to run code-server.
- If ran on an architecture with no binary releases, it will install the npm package with yarn or npm.
- We only have binary releases for amd64 and arm64 presently.
@ -100,8 +103,8 @@ systemctl --user enable --now code-server
We recommend installing with `yarn` or `npm` if:
1. We don't have a precompiled release for your machine's platform or architecture.
2. glibc < v2.17.
1. You aren't using `amd64` or `arm64`.
2. glibc < v2.17
**note:** Installing via `yarn` or `npm` builds native modules on install and so requires C dependencies.
See [./doc/npm.md](./doc/npm.md) for installing these dependencies.
@ -161,4 +164,8 @@ docker run -it -p 127.0.0.1:8080:8080 \
codercom/code-server:latest
```
You should also check out
Our official image supports `amd64` and `arm64`.
For `arm32` support there is a highly popular community maintained alternative:
https://hub.docker.com/r/linuxserver/code-server

View File

@ -13,13 +13,12 @@ To use latest:
curl -fsSL https://code-server.dev/install.sh | sh -s -- <args>
EOF
)"$"\n"
)""
"
fi
cat << EOF
Installs the latest code-server on Linux or macOS preferring to use the system package manager.
Lives at https://code-server.dev/install.sh
Usage:
$cli [--dry-run] [--version X.X.X] [--static <install-prefix>=~/.local]