How to install VS Code in an Android Phone?

How to install VS Code in an Android Phone?
Written by Nilima PaulDecember 30, 2021
3 min read
Android
0 VIEWS 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWS SHARE
Nilima Paul

Data Team

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.

What is Android?

Android is a software package and Linux-based operating system for mobile devices such as tablet computers and smartphones.

It is developed by Google and later the OHA (Open Handset Alliance). Java language is mainly used to write the android code even though other languages can be used.

blogpost

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:

termux-change-repo

Step 2 - Install ubuntu using termux

Enter the following command on termux and ubuntu will start to install on your Android phone

pkg install wget openssl-tool proot -y && hash -r && wget https://raw.githubu

start ubuntu by firing the following command:

./start-ubuntu.sh

Step 3 - Downloading code server

We will now download the latest release of code server from Github using the following command:

wget https://github.com/cdr/code-server/releases/download/v3.10.2/code-server-

Extract the tarball using the following command:

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

enter the /bin folder of your code-server installation on ubuntu (running on your phone)

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

Step 4 - Set up a password and start using VS Code

Setup a password for your VS Code instance using the following command:

export PASSWORD="password"

Launch the code server using the following command:

code-server
Android
vscode
termux
0 VIEWS 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWS SHARE
Was this blog helpful?
You must be Logged in to comment
Code Block
Nilima Paul
Data Team
111 Blog Posts
0 Discussion Threads
Trending Categories
15
Software39
DevOps45
Frontend Development24
Backend Development18
Server Administration17
Linux Administration24
Data Center24
Sentry24
Terraform21
Ansible29
Docker28
Penetration Testing14
Kubernetes16
NGINX19
JenkinsX17
Techiio

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

facebooklinkdeintwitter

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Copyright techiio.com @2020 Kolkata, India
made with by Abhishek & Priyanka Jalan
Copyright techiio.com @2020
made with by Abhishek & Priyanka Jalan