In this post, we will see how you can install vs code on an android device. We will use one of the most popular android terminals called termux.
Follow the steps below:
Step 1 - Install termux
In order to install VS code, you will have to install termux using this link. The official release available on the play store doesn't seem to get the packages updated for some reason.
If upgrade command doesn't work on your termux, try to change the default repo by using the command below:
Step 2 - Install ubuntu using termux
Enter the following command on termux and ubuntu will start to install on your Android phone
start ubuntu by firing the following command:
Step 3 - Downloading code server
We will now download the latest release of code server from Github using the following command:
Extract the tarball using the following command:
enter the /bin folder of your code-server installation on ubuntu (running on your phone)
Step 4 - Set up a password and start using VS Code
Setup a password for your VS Code instance using the following command:
Launch the code server using the following command: