$ apt update && upgrade
$ pkg install python
$ pkg install python2
$ pkg install git
$ pkg install wget
$ pkg install ruby
$ pkg install curl
$ git clone https://github.com/Hax4us/Metasploit_termux$cd metasploit-termux
$ ./metasploit.sh
$ cd
- download the script in HOME directory
wget https://raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh
- run
chmod +x metasploit.sh && ./metasploit.sh