Skip to content

Commit f117475

Browse files
committed
1 parent a40dabb commit f117475

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

doc/guide.md

-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ curl -fsSL https://code-server.dev/install.sh | sh
9393

9494
Docs on the install script, manual installation and docker instructions are at [./doc/install.md](./doc/install.md).
9595

96-
9796
## 3. Expose code-server
9897

9998
**Never**, **ever** expose `code-server` directly to the internet without some form of authentication

doc/install.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
33
# Install
44

5+
- [install.sh](#installsh)
56
- [Debian, Ubuntu](#debian-ubuntu)
67
- [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse)
78
- [Arch Linux](#arch-linux)
@@ -43,11 +44,13 @@ curl -fsSL https://code-server.dev/install.sh | sh
4344
- For Fedora, CentOS, RHEL, openSUSE it will install the latest rpm package.
4445
- For Arch Linux it will install the AUR package.
4546
- For any unrecognized Linux operating system it will install the latest static release into ~/.local
46-
- Add ~/.local/bin to your $PATH to run code-server.
47+
48+
- Add ~/.local/bin to your \$PATH to run code-server.
4749

4850
- For macOS it will install the Homebrew package.
51+
4952
- If Homebrew is not installed it will install the latest static release into ~/.local
50-
- Add ~/.local/bin to your $PATH to run code-server.
53+
- Add ~/.local/bin to your \$PATH to run code-server.
5154

5255
- If ran on an architecture with no binary releases, it will install the npm package with yarn or npm.
5356
- We only have binary releases for amd64 and arm64 presently.
@@ -100,8 +103,8 @@ systemctl --user enable --now code-server
100103

101104
We recommend installing with `yarn` or `npm` if:
102105

103-
1. We don't have a precompiled release for your machine's platform or architecture.
104-
2. glibc < v2.17.
106+
1. You aren't using `amd64` or `arm64`.
107+
2. glibc < v2.17
105108

106109
**note:** Installing via `yarn` or `npm` builds native modules on install and so requires C dependencies.
107110
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 \
161164
codercom/code-server:latest
162165
```
163166

164-
You should also check out
167+
Our official image supports `amd64` and `arm64`.
168+
169+
For `arm32` support there is a highly popular community maintained alternative:
170+
171+
https://hub.docker.com/r/linuxserver/code-server

install.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ To use latest:
1313
1414
curl -fsSL https://code-server.dev/install.sh | sh -s -- <args>
1515
EOF
16-
)"$"\n"
16+
)""
17+
"
1718
fi
1819
cat << EOF
1920
Installs the latest code-server on Linux or macOS preferring to use the system package manager.
2021
21-
Lives at https://code-server.dev/install.sh
22-
2322
Usage:
2423
2524
$cli [--dry-run] [--version X.X.X] [--static <install-prefix>=~/.local]

0 commit comments

Comments
 (0)