How to install vscode on android

How to install vscode on android

If you are a termux user like me well its a good news for you because you can use vscode on android. So lets begin, first install termux app from playstore or fdroid.

Step 1:

In order to download vscode you have to install termux on your android first. You can install it by going to playstore or fdroid.

Step 2:

After downloading termux give storage permission to it

 temux-setup-storage

Step 3:

Now install ubuntu on termux

 pkg install wget openssl-tool proot -y && hash -r && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh && bash ubuntu.sh

start ubuntu

 chmod +x *
 ./start-ubuntu.sh

Step 4:

Now download code server

 wget https://github.com/cdr/code-server/releases/download/v3.10.2/code-server-3.10.2-linux-arm64.tar.gz

Extract your tar file

tar -xvf ./code-server-3.10.2-linux-arm64.tar.gz

Step 5

Now copy the code-server file to bin folder

cp ./code-server2.1698-vsc1.41.1-linux-arm64/code-server /bin

remove the initial extracted folder to clean up some space

rm -rf code-server2.1698-vsc1.41.1-linux-arm64

Step 6

Now the run coder-server without password

code-server --auth none

It should look like this

IMG_20210729_145444.jpg

Hurray! we did it ๐Ÿ‘

ย