If you want to install Metasploit in termux then follow below 👇 and just copy step by step command and paste it in termux
pkg install wget
wget https://github.com/gushmazuko/metasploit_in_termux/raw/master/metasploit.sh
chmod +x metasploit.sh
./metasploit.sh