VS Code is one type of Code Editor. It's supports many language like HTML, CSS, JS, Python, JAVA, C, C++ etc. It's not avilable for android divices. But after some configrations we can downlode the visualstudio code editor in android divices. Read this blog and you will undersatnd how can we do this.
Termux is a powerful terminal emulator and Linux environment app for Android devices. It combines a robust command-line interface (CLI) with a lightweight package manager, enabling users to install and use Linux software directly on their Android phones or tablets.
-->Click here to Downlode Termux
<--Enter the following command on Termux to update the package repository
pkg updatepkg upgradeNow let's install proot-distro using the following command:
pkg install proot-distroNow fire this command and Ubuntu will start to install on your Android phone
proot-distro install ubuntuNow, start Ubuntu by firing the following command:
proot-distro login ubuntuYou will now see a root@ubuntu prompt in the terminal(Termux)
Now update and upgrade the root repository by following commands
apt updateapt upgradeNow install wget using the following command:
apt install wgetWe will now download the latest release of the code server from Github using the following command:
wget https://github.com/coder/code-server/releases/download/v4.16.1/code-server-4.16.1-linux-arm64.tar.gzExtract the tarball using the following command:
tar -xvf ./code-server-4.16.1-linux-arm64.tar.gzEnter the /bin folder of your code-server installation on Ubuntu (running on your phone)
cd code-server-4.16.1-linux-arm64cd binSetup a password for your VS Code instance using the following command:
export PASSWORD="password"Launch the code server using the following command:
./code-serverNow go to localhost:8080 and use VS Code.
No comments yet. Be the first to comment!