How to install Visual Studio Code on smartphone

TECH HELPER

Welcome guys, here is Rohit Dubey a web developer and freelancer. 

In, today's post I will share with you an awesome technic to use VS Code in your smartphone, yeah you heard right that's awesome! the thing you know that. 
So, let's begin. 

 1>>First you need to download termux from the play store for Android. 

Then the interface of the termux app looks like this Now, you need to upgrade your termux.




Now, here is a small step to upgrade your termux to change the default repo by using the command below:

termux-change-repo

2>> Now, it's time to start download Ubuntu a famous technology.

Carefully type the below code into your 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 by entering the following command:

./start-ubuntu.sh

3>> Now, download the Code server because with the help of the code server user can run VS Code on the smartphone.

The link for the server is here:-

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

After the installation of the code server, you need to extract
the tarball using the code where I have given below:

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

Enter the /bin folder of your code-server installation on ubuntu
Where Running on your phone.

cd code-server-3.10.2-linux-arm64
cd bin

4>> Now, set up your password for Visual Studio Code

You can't log in because you never login through the phone that's why you need to log in with a new IP address and a new password
Here, is the code for creating your password:

export PASSWORD="password"

Now, finally, we are done with the stuff (packages) and
now it's time to run your VS Code by typing the last command:-

code-server





The interface of VS Code in Smartphone ^^^

Guys, support my YouTube channel, the link for my channel:-
https://youtube.com/channel/UCvglX9rCFhjmdY5G2KYIFIQ


Happy coding guys see ya

unique helper
unique helper

This is a short biography of the post author. Maecenas nec odio et ante tincidunt tempus donec vitae sapien ut libero venenatis faucibus nullam quis ante maecenas nec odio et ante tincidunt tempus donec.

No comments:

Post a Comment