DEV Community

loading...
Cover image for Get VSCode On Android πŸ“±

Get VSCode On Android πŸ“±

MaxDev
I'm a Front-End Web Developer and A Game Developer My Top Languages are Python, C# and the MERN Stack MongoDB, Express.JS, React.JS, Node.JS
・2 min read

To Run VSCode On Android, We're Gonna Use A Terminal Emulator Called Termux you can install it on the play store it allows you to run a sort of Linux emulator you'll also need an Electron App Called Code-Server which is just a VSCode Server so we're gonna use Termux to host Code-Server allowing Us To USe VSCode In Our Browser

Installing Termux πŸ“₯

So First Things First Installing Termux you can get it from the play store and you'll just have to install and launch it

Installing Dependencies πŸ’Ύ

Now let's Install the Dependencies you'll need NodeJS yarn python and git also build-essentials according to the Termux NodeJS wiki for building native extensions you can use this command to do so

pkg install nodejs yarn build-essential python git
Enter fullscreen mode Exit fullscreen mode

Installing And Running VSCode Server πŸ§‘β€πŸ’»

finally, install VSCode Server With This Command

yarn global add code-server
Enter fullscreen mode Exit fullscreen mode

Note: This May Take A While

Now You Can Run VSCode Server Using this Command:

code-server &
Enter fullscreen mode Exit fullscreen mode

Updating VSCode Server πŸ“₯πŸ’Ύ

Now If You Need To Update VSCode Server For Any Reason Run This Command:

pkg update
yarn global remove code-server
yarn global add code-server
Enter fullscreen mode Exit fullscreen mode

this basically updates the package lists and removes and reinstalls VSCode Server

Hosting On Server

If You Want To Run VSCode Server On An Actual Server You Can Use A Hosting Platform That Won't Break The Bank 🏦 Use DigitalOcean and Get $100 In Credits To Host Your Servers

Discussion (2)

Collapse
aswutmaxcy profile image
aswutmaxcy

Is the repo down atm?

Collapse
maxdev_ profile image
MaxDev Author

sorry for the late reply but no it is not down github.com/cdr/code-server