AHJ George
From IDE apps to plain old text editors, there are many ways to code on your iPad. As convenient as these options may be, however, few deliver the power you'd expect from a desktop experience. Upgrading to Blink and VS Code Server is the easiest way to boost your productivity and enjoy the best of both worlds.
Want to spend less time setting up and more time coding? Here's how to get moving with VS Code Server and Blink Build or your favorite cloud instance.
Visual Studio Code Server is a code server that runs on your machine of choice. After installing, you'll be able to connect a local VS Code instance (like the desktop app or browser version) to the host running the server — so that you can develop remotely.
VS Code Server's close integration with the wider ecosystem makes it nice and easy to use. It also lets you get work done on platforms that don't support the VS Code desktop version — like your tablet or phone. To sum up, you can use features like navigation, debugging, and completions no matter where your code actually lives.
There are two main ways to deploy a VS Code Server: self-hosting or using a cloud instance.
With cloud-hosted solutions, like GitPod or Codespaces, you gain the advantage of self-managed convenience. If you'd rather not mess with configurations or build settings, spinning up a container or cloud VM might be the easiest option.
Self-hosting, on the other hand, gives you total control over what you install and how you work — without asking you to share repo access or sensitive data with third parties. You can work with multiple projects or repos, and you're not stuck with a vendor-supplied version of VS Code.
Which should you choose? With the right hosting-agnostic tools, you can develop seamlessly either way. For instance, no matter whether you're working in the cloud or locally, Blink Build makes it easy to roll your own custom dev runtime on demand.
When it comes to picking a VS Code Server brand, it's a matter of preference. Most people use the Microsoft option or the GitPod alternative.
Microsoft's VS Code Server is open-source. It also supports the complete extensions marketplace.
...But nothing is perfect. For example, VS Code Server's licensing is somewhat restrictive. Another issue is that Microsoft is known for pushing its own services, like Github Copilot, and collecting telemetry by default.
Blink Build makes it easy to work at your own pace by preserving the content of your home folder between runs. This means we can create a binary directory to avoid having to reinstall VS Code Studio each session:
mkdir ~/bin
Next, we'll need to make the contents of this directory available system-wide. To do this, we'll add our new directory to the PATH variable. Open the ~/.bashrc file in your favorite editor, and append the following line:
export PATH="$HOME/bin:$PATH"
Lastly, we apply the changes we just made using the source command:
source ~/.bashrc
Now, we'll download the VS Code Server tarball.
curl --output vscode.tar.gz -L -X GET \ "https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64"
Next, we extract the tarball and move it to the binary directory we created earlier:
tar -zxf vscode.tar.gz && mv code ~/bin/
If we did this correctly, running which code should display the binary in our directory.
Running is simple. We create an accessible tunnel with the aptly-named subcommand:
code tunnel
But here's where we deviate from the standard VS Code Server instructions. Instead of logging in via a browser, we'll use Blink. Copy the URL, and in a new Blink shell, run:
code <URL>
This version is the OG — GitPod published it before Microsoft released its open-source implementation. It's open-source and includes a fully open license.
The downside? OpenVSCode Server isn't compatible with the official extensions marketplace. With that said, the Open VSX extension registry has a lot going for it.
Follow the same steps for the Microsoft VS Code Server installation above.
First, we'll download the latest release for our OS from the GitHub repository. Make sure to pick an option compatible with your architecture!
Then, we'll extract the tarball and cd into the resulting directory:
tar -xzf openvscode-server-v${OPENVSCODE_SERVER_VERSION}.tar.gz && cd openvscode-server-v${OPENVSCODE_SERVER_VERSION}
The OpenVSCode server binary is in the bin subdirectory. We'll run it without arguments (but you can list the available options by adding --help):
./bin/openvscode-server
If all went well, you'll see a status message with a URL In a new Blink shell, run the code with that URL:
code <URL>
That's it! You now have a VS Code server to play around with via Blink. Stay tuned for more pointers on creating a smoother dev experience, and let us know what you're building.