Skip to main content

Good news! Now you can also code on android phone

 

How to install VS Code in an Android Phone?





Loading...

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:

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.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh && bash ubuntu.sh

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-3.10.2-linux-arm64.tar.gz

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

Comments

Popular posts from this blog

5 Ways to Save Money as a Student

  5 Ways to Save Money as a Student Loading... This article is for those students who are currently studying and wants to save some money; I have gathered these methods by using which students can save up some money. Savings on Shopping If you are a student who shops online and wants to save some money, you should consider the great Indian sale and Flipkart Big Billion Days. You can get products at a huge discount which will help you to save some money. Amazon Great Indian Festival Sale. Flipkart Big Billion Day Sale. Developer Now, If you are a student who loves to code and you are a developer or want to be a developer, this will help you. Github Student Developer Pack:  You can opt for the Github Education pack and get a ton of paid software for free. Like You can get Bootstrap Studio for free, You can get three free domains from big domain providers like Namecheap, .tech, and name.com. The Github education pack has around 200k$+ amount of services, and everything is free fo...

Here's a new another option for better programming (CAPTAIN STACK)

  Captain Stack — Code suggestion for VSCode This feature is somewhat similar to  Github Copilot 's code suggestion. But instead of using AI, it sends your search query to Google, then retrieves StackOverflow answers and autocompletes them for you. Have questions?  Join our Discord server   Table of contents: Installation Play with Captain Stack Notes Changelog Troubleshooting Contributors Note:  ⚠️  This extension uses a proposed API (inline-completion) and can only be used for extension development in  VSCode Insider release . It's not yet available on VSCode 1. Installation Check out the installation video:  https://youtu.be/MD-kzsF0Scg Before installation, make sure you have  VSCode Insider . You'll be using this version. To install and starting Captain Stack: Download this repository to your local machine. Unzip and open it on VSCode Insider (make sure the root directory is the same as  package.json  file) (optional) Run  ...

Free UI/UX Design Courses

  Free UI/UX Design Courses Explore a wide range of topics in UI/UX design through these free online courses offered by different platforms. Here are 6 different courses offered by top e-learning platforms and companies like Adobe, Google and more to learn the fundamentals of UI/UX design. 1. Adobe UX Foundation Learning Journey This free of cost UX Foundation Learning Journey is created by experts from Adobe and aligns 100% to the curriculum approved by the Industry and Government. The Journey will take you through UX Design concepts like UX process, research, visual elements, sitemap, information architecture, and navigation for smooth and intuitive user experiences. After completing this course, you will earn a co-branded certificate by Adobe and NASSCOM FutureSkills that is recognized by the industry as a credible micro-credential. Enroll for FREE 2. Product Design by Google This course is designed to help you materialize your game-changing idea and transform it into a product ...