Code Server - Self Hosted VSCode alternative
2024-04-19
Last updated
2024-04-19
Last updated
Host your code editor on your server which can be accessed remotely from any device
Self-hosting your code editor is like having your playground for coding. You get to tweak and customize it however you want, making it the perfect fit for your coding style. Plus, it keeps your code and data safe and sound on your turf, away from prying eyes. By self-hosting, you can also speed up your workflow since you're not relying on distant servers. Best of all, it's your setup, so you're not tied down by subscriptions or someone else's rulesβtotal coding freedom!
Step 1 - System Updates
SSH into your server or cloud instance and perform system updates
Apply the available updates
Step 2 - Download code-server
Download the installation package for your operating system from the
The following commands apply to Debian-based distributions:
Replace '$USER' with your server username Navigate to .config/code-server and change the bind address in the 'config.yaml' file to your server IP address. Ensure that port 8080 is allowed on your firewall. Access code-server on your-ip-address:8080 The password can be found in .config/code-server/config.yaml.
Configure your code editor to your desired look and feel. Enjoy coding your projects on your self-hosted code editor!