There are a lot of different code editors out there, but lately, many developers have found a liking for Visual Studio Code. I personally switched over to VSCode from Atom and Sublime a while ago and I am not looking back. VSCode is such an awesome piece of software (and it's completely free, too), that I don't need to use anything else for my daily needs. I understand the fact that many of us that aspires to be coders and programmers doesn't have a PC to carry out these dreams so I have taken my time to find the easiest way to get you this dream software on your Android phone, so In this tutorial, I you will show you how to install VSCode on Android Using Kali Linux.
If you don't know how to install Kali Linux on your Android phone, then read the previous articles I have made specially for you below
- Install Kali Linux Nethunter On Android Phone without Root 2022
- How To Fix Mozilla Firefox Tab Crashed On Kali Linux
👩💻Table of content
Step 1 - Downloading the VSCode package
The easiest way to install VSCode on Kali Linux is by downloading the VSCode deb. package and installing it via Apt. By doing it this way, you are automatically installing the apt repository that is necessary to automatically update VSCode, which is what we want.
On your Kali machine, open your browser and head over to the VSCode Downloads Page and select the .deb file to install VSCode.
Downloading Vscode in Kali Linux |
The file will now be saved inside your Downloads folder.
Step 2 - Install VSCode on Kali Linux
Once downloaded, we need to install VSCode on Kali Linux. Gladly, that's very easy now. Open up your Kali Terminal by clicking on the icon and navigate to the Downloads folder.
- cd Downloads
- sudo apt install ./code_whatever_codename.deb
Make sure to select the file you have downloaded for this.
Installing Vscode in Kali Linux |
This is all that you need to do to install VSCode on Kali Linux - No importing repositories or messing around with GPG keys!
Step 3 - Disable vs code sandbox
after installing vs code on Kali using Android you're going to realize that the application is not opening, this is due the fact that sandbox is enabled so to disable sandbox we go to the application directory and locate the code.desktop file and edit it
- cd /usr/share/applications
- nano code.desktop
now you add --no-sandbox as shown in the image below
Disabling sandbox in vscode |
Step 4 - Update VSCode on Kali Linux
VSCode usually notifies you if an update is available while using the app, but since we installed it in a way that also installed the apt repository, we can simply update VSCode by using apt.
sudo apt update -y && sudo apt upgrade -y
This will also bring VSCode to the latest version.
also watch video to see how it's done.
Step 5 - Starting VSCode
And that's it already! You can now start VSCode on Kali Linux via the App menu.
Code with Vscode on Kali Linux |
Conclusion
And there you have it. That's as easy as it gets. Now you are able to use VSCode in Kali Linux. I really enjoy working with VSCode because of its ease of use and because of its extensive extension library.
There are extensions for almost anything you can think of, from colored bracket pairs to syntax auto-completion et cetera. On top of that, it runs really fast and had never even once crashed on me. It is also fully integrated with Git, making it very easy to work with your Git repository.
Once you get used to using Virtual Studio Code, you probably will not go back to your old editor (except, your old editor is VIM of course!), but that's a whole topic on its own.
Install VSCode on Kali Linux - Quick & Easy
Watch this video on YouTube.
Tags
Android Tutorials
coding
coding on android
Kali Linux
Linux
mozila Firefox
nethunterkex
programming
vscode