This tutorial will take you through the steps to install code-server on macOS. code-server is an open-source version of Visual Studio Code that runs in a web browser.
code-server was developed by Coder.com, and the source code is hosted on GitHub. You can use code-server to write and edit source code on any device that has a web browser, including smartphones and tablets.
Before you start, make sure that you have the following:
cd ~/Downloads/
in the Terminal.tar -xvzf code-server-*.tar.gz
in the Terminal.sudo mv code-server* /Applications/
in the Terminal. You will be prompted to enter your macOS user password to confirm the action.code-server
in the Terminal. This will start code-server on port 8080.You have now installed code-server on your macOS device. You can use code-server to write and edit source code in a web browser. For more information on how to use code-server, visit the Coder.com documentation.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!