How to Install Kali Linux in Termux (No Root) 2026 – HYDRA TERMUX
How to Install Kali Linux in Termux Without Root — Complete 2026 Guide
- Introduction — What We Are Actually Doing Here
- Why Install Kali Linux in Termux?
- Requirements Before You Start
- Step 1 — Get the Right Version of Termux
- Step 2 — Update Termux Packages
- Step 3 — Install the Required Tools
- Step 4 — Download the NetHunter Installer
- Step 5 — Run the Installer
- Step 6 — Launch Kali Linux on Your Phone
- Step 7 — Update Kali and Install Tools
- Step 8 — Set Up the Kali GUI Desktop (Optional)
- Troubleshooting Common Errors
- Pro Tips
- FAQ
- Conclusion
// 01 — Introduction: What We Are Actually Doing Here
Let me be straight with you from the beginning. Running Kali Linux in Termux is one of those things that sounds way more complicated than it actually is. If you have been putting it off because you thought it required rooting your phone, buying special hardware, or spending hours fighting with Linux configurations — you were wrong. And this guide exists to prove that.
What we are going to do here is use something called NetHunter Rootless. This is an official project maintained by the actual Kali Linux team — not some sketchy third-party script from a random GitHub repo. The same people who build and maintain Kali Linux itself created this installer specifically for Android users who do not have root access. That alone should give you confidence that this method works properly and is not going to brick your phone or corrupt anything.
The way it works is through something called PRoot. Think of PRoot as a fake root environment — it tricks programs into thinking they have root access without actually granting it at the operating system level. Kali Linux runs completely inside Termux, in an isolated container on your phone's storage. Your Android system files, your apps, your photos — none of that is touched. If things go sideways for any reason, you uninstall Termux and everything disappears. Clean slate. Zero damage.
I personally tested this method in February 2026 on two different devices — one running Android 12 and one running Android 14. Both worked without any issues. The whole process took about 20 minutes on a decent WiFi connection. By the end of this guide, you will have a fully functional Kali Linux terminal running on your Android phone with no root required. You will be able to install hundreds of professional security tools, run network scans, use Metasploit, and even spin up a full graphical desktop if your phone has enough RAM.
Ready? Let's get into it.
// 02 — Why Would You Want Kali Linux in Termux?
This is a fair question. Termux already gives you a Linux terminal on Android with access to hundreds of packages. Why go through the extra step of installing Kali inside it? The answer comes down to one thing: tools.
Termux's package repository is great for general Linux utilities — Python, Git, Nmap, curl, SSH, and so on. But Kali Linux comes with an entirely different category of software. It is built specifically for penetration testing, digital forensics, and security research. The Kali repository has over 600 tools that simply do not exist in Termux's standard repos. Tools like Metasploit Framework, Hydra, Aircrack-ng, Burp Suite, SQLMap, Nikto, John the Ripper, Hashcat, and dozens more are all pre-packaged and ready to install with a single apt command inside Kali.
For anyone learning cybersecurity, this is massive. Instead of spending hours trying to manually compile tools from source inside Termux — fighting dependency errors and missing libraries — you just install Kali and type sudo apt install metasploit-framework. It works. No drama.
There is also the educational angle. If you are studying for certifications like CEH, OSCP, CompTIA Security+, or just building skills in ethical hacking, Kali Linux is the industry-standard environment. Learning it on your phone means you can practice anywhere — on the bus, during lunch break, anywhere you have your Android device. You do not need to lug a laptop around or pay for cloud lab time.
And honestly? There is something genuinely cool about pulling out your phone, opening a terminal, and running Metasploit. Not for any harmful purpose — for learning, for CTF challenges, for understanding how networks and systems work. That knowledge makes you a better developer, a better sysadmin, and a more security-aware person in general.
// 03 — Requirements Before You Start
Here is everything you need before running a single command. Going through this checklist saves you from the most common setup problems people run into.
| What You Need | Minimum | Recommended |
|---|---|---|
| Android Version | Android 7.0 (Nougat) | Android 10 or higher |
| Processor | 64-bit ARM (arm64) | Any modern Snapdragon or MediaTek |
| Free Storage | 1 GB | 4 GB or more |
| RAM | 2 GB | 4 GB or more |
| Internet | Mobile Data | WiFi (much faster download) |
| Termux Source | F-Droid or GitHub ONLY — never Google Play | |
The most important thing on that list is the Termux source. This cannot be stressed enough — the version of Termux on the Google Play Store has not been updated in years. It is missing critical features and has broken package repositories. If you install it from the Play Store and then follow this guide, things will fail in confusing ways and you will spend an hour wondering what went wrong. Save yourself the headache. Get Termux from F-Droid or directly from the Termux GitHub releases page.
The storage requirement might also surprise some people. A bare-bones Kali install uses around 500 MB to 700 MB. The moment you start installing tool bundles like kali-tools-top10, you are looking at 2 to 3 GB. If you want the full Kali Linux experience with all major tool categories, you will need 5 GB or more. Check your available storage before starting and free up space if needed.
// 04 — Step 1: Get the Right Version of Termux
Head over to F-Droid on your Android browser. F-Droid is a free and open-source app store for Android, and it hosts the maintained version of Termux. Go to f-droid.org, search for Termux, and install it. Alternatively, you can go directly to the Termux GitHub releases page at github.com/termux/termux-app/releases and download the latest APK file manually.
When you try to install the downloaded APK, Android will warn you about installing apps from unknown sources. This is normal for any app installed outside the Play Store. Go to your Settings, find the option to allow installation from that specific browser or file manager, enable it, and then proceed with the installation.
Open Termux after installation. You will see a black terminal screen with a blinking cursor and some initial setup output. Wait for it to finish loading — it downloads some base packages on first launch. Once you see the $ prompt, you are ready.
// 05 — Step 2: Update All Termux Packages First
This step is non-negotiable. Skipping the package update is the number one reason people run into errors later in the process. Outdated packages cause dependency conflicts that produce confusing error messages and make you think something is broken when it is actually just out of date.
Run this command and let it complete fully:
pkg update && pkg upgrade -y
What this does: pkg update refreshes the list of available packages from Termux's servers, and pkg upgrade -y upgrades every installed package to its latest version. The -y flag automatically answers "yes" to all prompts so you do not have to babysit it.
This will take anywhere from two to ten minutes depending on your connection speed and how many packages need updating. You will see a lot of text scrolling by — that is normal. Do not interrupt it. If it asks you something like "Replace configuration file?" just press Enter to keep the default and let it continue.
Once the command finishes and you see the $ prompt again, your Termux environment is up to date and ready for the next step.
// 06 — Step 3: Install the Four Required Packages
Before the Kali installer can run, we need four specific tools installed in Termux. Each one plays a different role in the installation process.
pkg install wget curl proot tar -y
Here is what each one does and why it matters:
wget — A command-line tool for downloading files from the internet. The NetHunter installer uses wget to fetch the Kali Linux root filesystem from Kali's servers. Without it, the installer cannot download anything.
curl — Similar to wget but with different capabilities. Some parts of the installation and tool setup use curl for fetching files and checking URLs. Having both wget and curl available prevents "command not found" errors mid-install.
proot — This is the most critical package on the list. PRoot is what makes this entire thing possible without root access. It is a user-space implementation of chroot, bind mounts, and binfmt_misc. In plain English, it lets Kali Linux run in an isolated environment on your phone without needing actual system-level root privileges. The Kali environment thinks it has root. Your Android system disagrees. PRoot is the translator between them.
tar — An archive utility. The Kali Linux filesystem arrives as a compressed tarball, and tar is what extracts it. Some versions of Termux include tar by default, but we install it explicitly here to be safe.
All four will install quickly since they are small packages. Once done, you are ready for the main event.
// 07 — Step 4: Download the Official NetHunter Rootless Installer
This is the installer script maintained by Offensive Security and the Kali Linux team. It is not some random script from the internet — it is the official, documented method published on Kali's own website. That matters, because unofficial installers are often outdated, broken, or worse.
Download the installer with this command:
wget -O install-nethunter-termux https://offs.ec/2MceZWr
The -O install-nethunter-termux part tells wget to save the downloaded file with that specific name. Once the download finishes, you will see a file called install-nethunter-termux in your Termux home directory.
Now make it executable. By default, downloaded files do not have permission to run as scripts. This command grants that permission:
chmod +x install-nethunter-termux
// 08 — Step 5: Run the Installer and Wait
This is the big one. Run the installer with:
./install-nethunter-termux
The script starts by detecting your device's CPU architecture. For the vast majority of modern Android phones made in the last five years, this will be arm64. Older or budget devices might be armhf (32-bit ARM). The script detects this automatically — you do not need to do anything.
After detection, it downloads the Kali Linux rootfs — the compressed filesystem that contains the entire Kali operating system. This file is typically between 300 MB and 600 MB depending on the variant. On a solid WiFi connection, expect five to fifteen minutes just for the download. On mobile data it could take longer.
After downloading, the script extracts the filesystem and configures the environment. This part runs entirely on your device's CPU and can take another five to fifteen minutes depending on your phone's processing speed. The whole operation from start to finish usually takes between fifteen and thirty minutes.
While it runs you will see output like this scrolling through your screen:
[*] Checking architecture... arm64
[*] Downloading Kali NetHunter rootfs...
[*] Verifying download...
[*] Extracting Kali NetHunter rootfs...
[*] Configuring Kali NetHunter...
[*] Installation complete!
The absolute most important rule during this step: do not close Termux. Keep your phone's screen on. If you have battery saver mode that kills background apps, disable it temporarily. If the installation gets interrupted halfway through, the rootfs will be corrupted and you will have to start over. Most phones will not interrupt an active terminal session, but it is worth keeping the screen alive to be safe.
// 09 — Step 6: Launch Kali Linux on Your Phone
Installation is done. Now for the moment of truth. Type this and press Enter:
nethunter
Your prompt will change. Instead of the Termux dollar sign, you will see something like this:
┌──(kali㉿localhost)-[~]
└─$
That is the Kali Linux prompt. You are now inside Kali Linux running on your Android phone. No root. No laptop. No cloud server. Just your phone and Termux.
Take a second to appreciate that. The same operating system used by professional penetration testers and security researchers around the world is now running in your pocket.
There is also a shorthand command. Instead of typing nethunter every time, you can just type nh. Both launch the same Kali session. To exit Kali and return to the regular Termux environment, type exit and press Enter. You can jump between Termux and Kali as many times as you want.
nh to launch it anytime, and exit to return to Termux.// 10 — Step 7: Update Kali and Start Installing Tools
The first thing to do inside your fresh Kali installation is update the package lists and upgrade everything to the latest versions. Kali releases updates constantly, and the rootfs you just downloaded might be a few weeks or months old.
Make sure you are inside Kali (you should see the kali prompt), then run:
sudo apt update && sudo apt upgrade -y
This might take a while depending on how many updates are available. Let it run fully. Once done, you are ready to install tools.
Installing Individual Tools
You can install any tool from Kali's repository with sudo apt install -y toolname. Here are some of the most commonly used ones:
# Network scanning
sudo apt install -y nmap
# Web application testing
sudo apt install -y sqlmap
sudo apt install -y nikto
# Password attacks
sudo apt install -y hydra
sudo apt install -y john
# The big one — Metasploit Framework
sudo apt install -y metasploit-framework
# Wireless testing
sudo apt install -y aircrack-ng
Installing the Top 10 Kali Tools at Once
Kali provides curated tool bundles. The most popular one installs the top 10 most widely used tools in a single command:
sudo apt install -y kali-tools-top10
Fair warning — this will download and install several gigabytes of software. Make sure you have enough storage and a stable connection before running it. This is best done on WiFi, not mobile data.
There are also other bundles available:
# Web application testing bundle
sudo apt install -y kali-tools-web
# Password cracking bundle
sudo apt install -y kali-tools-passwords
# Wireless testing bundle
sudo apt install -y kali-tools-wireless
# Full default Kali toolset (WARNING: very large — 5GB+)
sudo apt install -y kali-linux-default
For most people just starting out, installing individual tools as you need them is the smarter approach. It saves storage and you end up learning more about each tool rather than having hundreds installed that you never use.
// 11 — Step 8: Set Up the Full Kali GUI Desktop with KeX (Optional)
Everything we have done so far gives you a command-line Kali environment. That is genuinely powerful and is all most people need. But if you want to go further — if you want a full graphical desktop running on your phone with windows, menus, and a proper GUI — NetHunter KeX makes that possible.
KeX stands for Kali Desktop eXperience. It runs the XFCE desktop environment inside your Kali installation and exposes it over VNC, which you then connect to from a VNC viewer app on your phone.
First, install the Kali XFCE desktop environment. This is a large download — roughly 1 to 2 GB:
sudo apt install -y kali-desktop-xfce
Once that finishes, set a VNC password. This is the password you will use to connect from the VNC viewer. Run this from your Termux session (not inside Kali):
nethunter kex passwd
Type a password when prompted. Make it something you will remember. Now start the KeX server:
nethunter kex &
The & at the end runs it in the background so your Termux session stays free. Now install the NetHunter KeX app from F-Droid on your Android device. Open it, connect to localhost:5901, enter the password you set, and you will see the full Kali XFCE desktop appear on your phone screen.
You can interact with it by touch — tap to click, swipe to scroll, pinch to zoom. Using a Bluetooth keyboard and mouse dramatically improves the experience if you are going to spend serious time in the GUI.
// 12 — Troubleshooting: Fixing the Most Common Errors
Most problems people encounter fall into a handful of categories. Here are the ones that come up most often and exactly how to fix them.
Error: "Unable to download rootfs" or download fails
This is almost always a network issue. First try switching from mobile data to WiFi, or vice versa. If the download keeps failing, the short URL might have changed. In that case, go to the official Kali NetHunter rootless documentation page and grab the updated installer URL. You can also manually download the rootfs file from Kali's build server at build.nethunter.com/kalifs/kalifs-latest and place it in your Termux home folder before running the installer again.
Error: "proot: execvp: No such file or directory"
This means PRoot is either not installed or got corrupted. Reinstall it cleanly:
pkg reinstall proot -y
Error: apt fails inside Kali with DNS resolution errors
This is a common one that trips people up. Inside Kali, the DNS configuration file sometimes does not get set up correctly. Fix it by pointing it to Google's DNS manually:
sudo rm /etc/resolv.conf
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
sudo apt update
Kali session closes immediately after typing "nethunter"
The most likely cause is a full storage problem. Check how much space you have left:
df -h
If your storage is at 95% or more, free up some space — delete unused files, uninstall apps you do not need, move photos to cloud storage. The Kali environment needs breathing room to run properly.
Commands inside Kali say "sudo: command not found"
Sudo is not always installed in minimal Kali environments. Install it with:
apt install sudo -y
General rule for any error
If you hit an error that is not listed here, the fix is almost always one of two things: update your packages (pkg update && pkg upgrade -y in Termux, or sudo apt update && sudo apt upgrade -y inside Kali), or check your storage with df -h. Those two commands solve about 80% of all Termux and Kali issues.
// 13 — Pro Tips to Get the Most Out of Kali in Termux
sudo apt upgrade -y inside Kali weekly. These tools break when their targets update their systems.termux-wake-lock in Termux before starting long operations. This prevents Android from killing Termux in the background while you are running scans or downloads that take a long time.// FAQ
sudo apt install metasploit-framework -y inside your Kali session, then launch it with msfconsole. The initial startup is slow — give it a full minute or two the first time. On 4 GB RAM or more it runs comfortably. On 2 GB RAM it will work but feel sluggish on larger modules.kali-tools-top10 brings it to roughly 2–3 GB. The full default Kali toolset (kali-linux-default) needs around 5 GB or more. Plan your storage accordingly before installing tool bundles.// 15 — Conclusion
That is everything. From a fresh Termux install to a fully running Kali Linux environment with professional security tools — all on your Android phone, no root required. If you followed each step carefully, you now have access to one of the most powerful penetration testing platforms in the world sitting in your pocket.
What you do with it is up to you. My recommendation is to start with the basics — run some Nmap scans on your own home network, practice with SQLMap on intentionally vulnerable web apps like DVWA, work through beginner CTF challenges on TryHackMe. Build your skills methodically. Kali Linux is a tool, and like any tool, it gets more powerful the more you understand it.
If this guide helped you, the best thing you can do is share it with someone else who has been curious about running Kali on Android. There are a lot of people who think this is impossible or requires expensive hardware. It does not. All you need is an Android phone and fifteen minutes.
For more Termux tutorials, tool guides, and Android Linux content, keep checking hydratermux.blogspot.com. There are new guides coming every week covering everything from Fish shell and Python scripting to network analysis and CTF writeups.
nethunter or nh to launch it anytime. Happy (ethical) hacking!