Install Metasploit-Framework in official way using this script.
Once you successfully installed metasploit in termux using this scrip then you run it with given command
$ msfconsole
$ msfvenom -h
Credit - github.com/kinghacker0 Instagram - kinghacker0