How to install Metasploit in Termux 2019 – Error Free installation

install Metasploit in termux 2019
install Metasploit in termux 2019

In a previous article, we discussed termux in detail. It answered all the necessary questions about termux. Including what is termux, how it works, how it’s used in hacking, and many more. We also showed how to install hacking tools termux.

Metasploit was also one of them. But the process we discussed in the article was the standard one. And many people face errors while installing Metasploit. So here is a dedicated article about it. In this Article, I’ll show you how to install Metasploit framework in termux. Also, this process will be error-free. Let’s get started.

What is the Metasploit framework?

Metasploit is one of the best and most used hacking applications. It is widely used by hackers and security professionals. Metasploit can be used to hack both PC as well as smartphones. It has a huge exploit database.

Install Metasploit on termux

install Metasploit in termux
install Metasploit in termux

Before we get started, note this point. Please read the previous article to understand how to install termux. Also, that article explains the commands I’ll use. Now let’s begin:

First, we’ll update & upgrade our termux. To do so, enter this command:

pkg update && pkg upgrade

Now we will install some basic packages like git, wget, curl, python, ruby, etc. If you’ve already installed them, ignore them. Let’s install them:

pkg install python

pkg install python2

pkg install curl

pkg install wget

pkg install perl

pkg install ruby

pkg install php

Now we’ll install the Metasploit framework. To install Metasploit framework, you must have 500MB free space. Now follow these commands:


If this doesn’t work, download the file manually. Check the previous article to learn how to do that.

Now give permission to by this command:

chmod +x

Now run the script to install Metasploit using this command:




This will take several minutes. And you’re done. That’s it for this article. In the next article, I’ll teach you to install and setup ngrok.


Leave a Reply