

Of course, you don’t want to have to run the Code Server command every time you need to access the service. Once you successfully authenticate, you’ll be greeted by the Visual Studio Code application where you can begin working ( Figure C).įigure C Code Server is up and running. You will be prompted to enter the password you created in the config file ( Figure B).įigure B The Code Server password prompt. Point a web browser to the address listed in the command printout.

You should see the address of your server printed out ( Figure A).įigure A Code Server is running in the command prompt. To do that, change into the bin directory with the command: Where IP_ADDRESS is the IP address of the hosting machine and PASSWORD is a strong/unique password. Now create the config file with the command:

To do that, first create a new directory with the command: Change into that new folder with the command:Ĭd code-server-3.4.1-linux-x86_64 How to create the config fileīefore we start the server, we have to create a config file. This will create a new folder named, code-server-3.4.1-linux-x86_64. To do that, open a terminal window and issue the command: The first thing you’ll want to do is download and unpack the code-server file. However, I have found a method that does work, it’s just not quite as simple. I will mention that the documentation found on the code-server site seems to always fail to create a running instance of code-server.

I am going to demonstrate how to make this work using Ubuntu Server 18.04, so you’ll need an instance of Linux up and running as well as a user with sudo privileges. You can create a networked instance of Visual Studio Code on a Linux or macOS machine, or using a Docker image. SEE: Serverless computing: A guide for IT leaders (TechRepublic Premium) What you’ll need So how do you get this up and running? Let me show you. The benefit of using Code in this manner is that no matter what platform you’re using it on, you’ll always have the same experience–if you’re working on a Linux desktop, a macOS laptop, an Android tablet, or a smartphone, it’ll all be the same. Multiple users can access Visual Studio Code in this fashion, but work is not shared. The downside is that it’s a single-user instance, so you won’t be using this as a collaboration tool (in the normal sense of the word). This is a great way to ensure you can work with the tool, no matter what computer you’re using. You can install this tool on your desktop or you could run it over your network, so anyone on your LAN could have access to it. Visual Studio Code open source edition is a great way for developers to work with a slick integrated development environment (IDE).
