How to Run VsCode on Android Phone.!! (Visual Studio Code)

=”text-align: left;”>Hey What’s up  Geeks !! Today in this post I am going to show that How can you install VsCode i.e Visual Studio Code on your  Android Phone. It will be like same PC version of VsCode and it will you  help in your coding journey without having any PC. I always dreamt about making android that much powerful that even a poor kid living in a village can use the power of android to it’s full extent so that he fulfil his requirements of personal computer and this Blog is all about that. So Let’s start this Post. 

                 

So First of all you will need to install a Linux Distro for this to work and today I am going to use Ubuntu. Although I have the option to install the GUI of Ubuntu along with CLI but here i am just installing CLI of Ubuntu so in case you want to use GUI also feel free to install that. There will be no changes in steps.


Step 1: Install Ubuntu in Termux:

a) Install Termux from Play Store.

b) Run the following Commands:

    1) apt-get update

    2) apt-get upgrade

c) Run the command given here : 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

d) Now you have CLI of Ubuntu installed in Termux so feel free to install GUI in case if you are interested otherwise follow from next step.


Step 2: Install VsCode in Ubuntu:

 a)When you are in the Ubuntu terminal, you can run the following to grab the VsCode editor.


wget https://github.com/cdr/code-server/releases/download/2.1698/code-server2.1698-vsc1.41.1-linux-arm64.tar.gz


 b)Extract it with the following.

tar -xvf ./code-server2.1698-vsc1.41.1-linux-arm64.tar.gz


Voila, you have the editor extracted . Now you can optionally delete the archive to free up some space else your are going to use it later.

 c) The files are no more in an executable format, they need to be placed in a /bin folder for you to have the ability to call it

 Due to that, the following command should do the work :

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



d) Voilà. You can now call the editor by running “code-server” any where in your terminal and you will be able to use it. It is served on localhost:8080.


Final note: Each time you launch it, you’ll see a new password and it can be annoying. So let’s set a password in our environment variables.
Run this :

export PASSWORD=”<your_password>”



Replace with any password of your choice and each time you launch the editor. You’ll use the exact same password.


VS Code includes a set of built-in extensions located in the extension folder, including grammars and snippets for many languages. Extensions that provide rich language support (code completion, Go to Definition) for a language have the suffix language-features. For example, the json extension provides coloring for JSON and the json-language-features provides rich language support for JSON.

Visual Studio Code is a distribution of the Code - OSS repository with Microsoft specific customizations released under a traditional Microsoft product license.
Visual Studio Code combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. It provides comprehensive code editing, navigation, and understanding support along with lightweight debugging, a rich extensibility model, and lightweight integration with existing tools.
Visual Studio Code is updated monthly with new features and bug fixes. You can download it for Windows, macOS, and Linux on Visual Studio Code’s Website.


So that’s all Guys for this post. I hope you liked it ..!!! 🙂


I am a seasoned software engineer and passionate tech YouTuber with over 100,000 subscribers. I enjoy exploring emerging technologies and sharing insights with the tech community.

Sharing Is Caring:

0 thoughts on “How to Run VsCode on Android Phone.!! (Visual Studio Code)”

  1. Luckily, you can find a lot of roulette variations at 아벤카지노 the most effective Arabic casinos online. French Roulette features an attention-grabbing insurance wager referred to as En Partage. You will obtain half your even-money stake again if the zero seems.

    Reply

Leave a Comment