Skip to content
Back to home
Tutorial

VS Code on Android: what works in 2026 and what to use instead

There is no VS Code app for Android. vscode.dev, Codespaces and code-server each get you part of the way; here is what each does and the native options.

6 min
By Pelayo Naredo
VS Code on Android: what works in 2026 and what to use instead

Short answer: there is no official VS Code app for Android. You can get real VS Code through the browser with GitHub Codespaces, run your own copy with code-server inside Termux, or open vscode.dev to edit files. If what you want is a VS Code-like editor that runs your code on the phone, a native app works better on a touchscreen.

I build PocketCode, one of the native options, so read that part with that in mind. Everything below says what each option does and where it stops.

Option 1: vscode.dev in the phone's browser

Open vscode.dev in Chrome and you get the VS Code interface. It can open a GitHub repository, edit files and commit. Microsoft describes the browser version as a very limited execution environment, and on a phone that means:

  • No terminal and no debugger. You can't run, build or test anything.
  • Only web extensions. Extensions that need a Node.js backend don't work.
  • A desktop layout on a small screen. It works, but menus and panels are cramped.

It works for a quick fix to a file in a repo. It won't run code.

Option 2: GitHub Codespaces

Codespaces gives you full VS Code connected to a Linux machine in the cloud, with a terminal, extensions and debugging. You open it from the phone's browser.

  • Free allowance: personal accounts on GitHub's Free plan get 120 core hours a month (60 hours on a 2-core machine) and 15 GB of storage. Pro accounts get more.
  • Needs a connection all the time. No signal, no editor.
  • Same desktop layout. It's VS Code as it is on a laptop, with no adjustments for touch.

If your work lives on GitHub and you're usually online, this is the most complete VS Code you can have on a phone.

Option 3: code-server inside Termux

code-server is VS Code running as a server that you open in a browser. The code-server docs explain how to install it in Termux with pkg install tur-repo and then pkg install code-server. Then you open localhost in the phone's browser.

  • It runs on the phone, so it works offline and uses Termux's packages for your toolchain.
  • Extensions are limited. Android isn't treated as Linux, so code-server only installs web extensions unless you sideload .vsix files or override the platform.
  • Setup and battery. You install Termux from F-Droid or GitHub, keep the server running and work in a browser tab.

Option 4: a native editor

A native Android editor won't be VS Code, but it's designed for a touchscreen and can run code on the device. Two worth looking at:

  • Acode: open-source (MIT), with a plugin store, GitHub and SFTP support, and a terminal based on Alpine Linux where you can install packages with apk. Free with ads, or paid.
  • PocketCode: an IDE with an editor, Git, terminal, SSH, databases, an API tester and an AI assistant that uses your own key. More on it below.

What PocketCode borrows from VS Code, and what it doesn't

PocketCode is its own editor, not a VS Code fork. These are the parts that will feel familiar, checked against the app's source:

  • Some of the same language servers. HTML, CSS and JSON use vscode-langservers-extracted, the servers taken from VS Code. TypeScript and JavaScript use typescript-language-server, and Python uses Pyright. They install with one tap from npm, and in total 16 languages have an installable server, including YAML, Bash, Vue, Svelte and Markdown.
  • Theme and keys. The VS Code Dark+ theme is included in the free plan, there's a VS Code keymap preset for physical keyboards, and Pro can import VS Code colour themes (JSON).
  • Git built in: stage, commit, branches, merge, stash and GitHub pull requests from the editor.
  • It runs your code on the phone. Python, JavaScript on a bundled Node.js, C and other languages run from the Run button, without a server.

And the differences:

  • No VS Code extensions. The app has its own marketplace with themes, snippets, prompts and templates instead.
  • No language servers for Go, Rust, C/C++, Java or Kotlin. Google Play doesn't allow downloading native or JVM executables, so only JavaScript and WebAssembly servers can be installed. Those languages have syntax highlighting without completion.
  • Its terminal isn't Termux. It's a BusyBox shell without a package manager. If you need apt, use Termux alongside it.

Comparison

vscode.devCodespacescode-server in TermuxAcodePocketCode
Is it VS CodeYes, limitedYesYesNoNo
TerminalNoYes, in the cloudYes, TermuxYes, Alpine (PRoot)Yes, BusyBox
Runs codeNoYes, in the cloudYes, on the phoneThrough its terminalYes, on the phone
VS Code extensionsWeb onlyYesWeb only, or manual .vsixNoNo
Works offlineNoNoYesYesYes, once signed in
Made for touchNoNoNoYesYes
CostFree120 core hours/month freeFreeFree with ads, or paidFree plan; Pro is optional

How to choose

  • You need your exact VS Code setup with extensions and you're online: Codespaces.
  • You want VS Code on the phone itself and don't mind the setup: code-server in Termux.
  • You only need to fix a file in a GitHub repo: vscode.dev.
  • You want an editor made for the phone that runs code without setup: Acode or PocketCode. Pick Acode if you want a package manager in the terminal, and PocketCode if you want Git, SSH, databases and API testing in the same app.

Sources


PocketCode is free to download on Google Play. Get PocketCode and see if a native editor fits how you work. The code editor page has screenshots of what it looks like.

Frequently asked questions

Is there a VS Code app for Android?

No. Microsoft doesn't publish VS Code for Android. You can use it through the browser (vscode.dev or GitHub Codespaces), run code-server inside Termux, or use a native editor that works in a similar way.

Can I run code in vscode.dev on my phone?

No. vscode.dev runs entirely in the browser, which Microsoft describes as a very limited execution environment: there is no terminal and no debugger. You can edit files and commit to GitHub, but not run or build.

Is GitHub Codespaces free on a phone?

Personal accounts on GitHub's Free plan include 120 core hours of Codespaces a month, which is 60 hours on a 2-core machine, plus 15 GB of storage. You use it from the phone's browser and it needs a connection the whole time.

Does PocketCode support VS Code extensions?

No. PocketCode is its own editor, not a VS Code fork. It uses several of the same language servers as VS Code, has a VS Code theme and keymap, and can import VS Code colour themes with Pro, but it cannot install VS Code extensions.

The tool behind this article

Code Editor

Ready to try PocketCode?

Download the app and start coding from your mobile.