LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

code-server

VS Code in the browser on a remote server

TLDR

Start code-server
$ code-server
copy
Start on specific port
$ code-server --bind-addr [0.0.0.0:8080]
copy
Start with specific directory
$ code-server [/path/to/project]
copy
Disable authentication
$ code-server --auth none
copy
Use specific config
$ code-server --config [~/.config/code-server/config.yaml]
copy
Show password
$ cat ~/.config/code-server/config.yaml
copy

SYNOPSIS

code-server [options] [path]

DESCRIPTION

code-server runs Visual Studio Code on a remote server, making it accessible through any web browser. This enables development from Chromebooks, tablets, and other devices that cannot run VS Code natively, while maintaining a consistent development environment with full access to server resources.The service provides nearly identical functionality to desktop VS Code, including extension support, terminal access, and file system integration. It's particularly useful for remote development, cloud workspaces, and teams needing standardized environments. All compute and storage occurs on the server, with only the interface rendered in the browser.Authentication can be password-based or disabled for trusted networks. TLS certificates enable secure HTTPS connections. The tool is developed by Coder and runs as a long-lived service, typically behind a reverse proxy in production deployments.

PARAMETERS

--bind-addr host:port

Address to bind (default: 127.0.0.1:8080)
--auth type
Authentication: password, none
--password pass
Set password (or use PASSWORD env)
--cert file
TLS certificate file
--cert-key file
TLS key file
--config file
Configuration file path
--user-data-dir dir
User data directory
--extensions-dir dir
Extensions directory
--disable-telemetry
Disable telemetry

CONFIGURATION

~/.config/code-server/config.yaml:

$ bind-addr: 127.0.0.1:8080
auth: password
password: yourpassword
cert: false
copy

REQUIREMENTS

- 1 GB RAM minimum- 2 vCPUs- WebSockets enabled

INSTALLATION

$ curl -fsSL https://code-server.dev/install.sh | sh
copy

INSTALL

brew install code-server
copy
nix profile install nixpkgs#code-server
copy

CAVEATS

Default password in config file. Use TLS in production. Some extensions may not work in browser.

SEE ALSO

code(1), vim(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid