How to Install Kali Linux in Termux (No Root) 2026 – HYDRA TERMUX

Termux · Kali Linux · Android

How to Install Kali Linux in Termux Without Root — Complete 2026 Guide

🆓 Free 🤖 No Root Required 📱 Android 7.0+ ✅ Tested 2026
Install Kali Linux Termux No Root 2026

// 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.

💡
Before anything: Make sure you have at least 2 GB of free storage and a stable internet connection before starting. WiFi is strongly recommended — the Kali rootfs download is several hundred megabytes.

// 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.

⚠️
Always remember: Every tool covered in this guide is for educational use only. Use them on systems you own or have explicit written permission to test. Unauthorized access to any network or device is illegal. HYDRA TERMUX does not support or condone illegal activity of any kind.

// 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 NeedMinimumRecommended
Android VersionAndroid 7.0 (Nougat)Android 10 or higher
Processor64-bit ARM (arm64)Any modern Snapdragon or MediaTek
Free Storage1 GB4 GB or more
RAM2 GB4 GB or more
InternetMobile DataWiFi (much faster download)
Termux SourceF-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.

💡
Already have Termux? If you installed Termux from F-Droid previously, you are good to go. Just make sure it is updated to the latest version before continuing.

// 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:

bash copy
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.

bash copy
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:

bash copy
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:

bash copy
chmod +x install-nethunter-termux
💡
Link not working? If the short URL stops working in the future, go directly to the official Kali documentation at kali.org/docs/nethunter/nethunter-rootless and get the current installer URL from there. The Kali team keeps that page updated.

// 08 — Step 5: Run the Installer and Wait

This is the big one. Run the installer with:

bash copy
./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:

output copy
[*] 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.

⚠️
Keep Termux open! Do not switch to other apps, do not let your phone auto-lock, and do not close Termux while the installer is running. An interrupted install means starting from scratch.

// 09 — Step 6: Launch Kali Linux on Your Phone

Installation is done. Now for the moment of truth. Type this and press Enter:

bash copy
nethunter

Your prompt will change. Instead of the Termux dollar sign, you will see something like this:

output copy
┌──(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.

Kali Linux is running on your Android phone! No root needed. Type 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:

bash copy
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:

bash copy
# 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:

bash copy
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:

bash copy
# 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:

bash copy
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):

bash copy
nethunter kex passwd

Type a password when prompted. Make it something you will remember. Now start the KeX server:

bash copy
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.

💡
RAM matters here: The Kali XFCE desktop is workable on 3 GB RAM but really shines with 4 GB or more. On devices with 2 GB RAM, stick to the command line — the GUI will be sluggish and you will run into out-of-memory kills.

// 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:

bash copy
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:

bash copy
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:

bash copy
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:

bash copy
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

💡
Tip 1 — Keep yt-dlp updated inside Kali: If you use yt-dlp or other tools that interact with external services, run sudo apt upgrade -y inside Kali weekly. These tools break when their targets update their systems.
💡
Tip 2 — Use Termux:Widget: Install Termux:Widget from F-Droid to create home screen shortcuts. You can set one up to launch Kali instantly with a single tap on your Android home screen.
💡
Tip 3 — Run termux-wake-lock: Type 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.
💡
Tip 4 — Practice on CTF platforms: Use your Kali setup on platforms like HackTheBox, TryHackMe, or PicoCTF. These are legal environments specifically designed for practicing ethical hacking skills. Perfect for testing everything you have set up.
💡
Tip 5 — Back up your Kali config: Once you have Kali set up the way you like it — with your preferred tools installed and configurations made — back up your Termux home folder to cloud storage. Reinstalling everything from scratch after a phone factory reset is painful.

// FAQ

Can I really install Kali Linux without rooting my phone?
Yes, absolutely. The NetHunter Rootless method uses PRoot to run Kali in a sandboxed environment inside Termux. Your Android system is never modified in any way. Everything lives inside Termux's data directory. Uninstall Termux and it all disappears cleanly — no traces left on your system whatsoever.
Does this still work in 2026?
Yes. This guide was written and tested in February 2026 on Android 12 and Android 14 specifically. The NetHunter Rootless method is actively maintained by the Kali Linux team and gets updated regularly. It is not some abandoned project from years ago.
Can I run Metasploit Framework inside Kali on my phone?
Yes. Install it with 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.
How much storage does the full Kali installation need?
The base Kali install is around 500–700 MB. Installing 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.
How do I completely uninstall Kali Linux from my phone?
Simply uninstall Termux from your Android device through the normal app management settings. Everything — Kali Linux, all its tools, all your files inside it — is stored within Termux's app data directory and gets removed completely when you uninstall Termux. No leftover files anywhere on your system.
Does this work on iPhone or iOS?
No. Termux is an Android-only application. There is no equivalent method for running Kali Linux on iOS without a jailbreak, and jailbreaking modern iPhones is significantly more complex and risky than using Termux on Android.
Which Android version gives the best experience?
Android 10 or higher gives the smoothest experience. Android 12 and 14 both tested perfectly in 2026. Android 7 to 9 will work but may have occasional quirks with PRoot on some devices. If possible, run this on a device with Android 10 or newer.

// 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.

You now have Kali Linux running on Android with no root. Type nethunter or nh to launch it anytime. Happy (ethical) hacking!

Rixon Xavier

Founder — HYDRA TERMUX

Cybersecurity educator and Termux enthusiast. Creating free tutorials to help Android users learn Linux and ethical cybersecurity since 2023.

⚠️ Disclaimer: This tutorial is for educational purposes only. Always practice on systems you own or have explicit permission to test. HYDRA TERMUX does not support illegal activity of any kind.
Next Post Previous Post
No Comments Yet
Add Comment
comment url