Linux / Mac OS X
Installing Metasploit on Linux / Mac OS X
The following script invocation will import the Rapid7 signing key and setup the package for supported Linux and OS X systems:
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \ chmod 755 msfinstall && \ ./msfinstall
These packages integrate into your package manager and can be updated with msfupdate or with your package manager. On first start, these packages will automatically setup the database or use your existing database.
Installing Metasploit on Windows
Download the latest Windows installer or view older builds. To install, simply download the .msi package, adjust your Antivirus as-needed to ignore c:metasploit-framework, double-click and enjoy. The msfconsole command and all related tools will be added to the system %PATH% environment variable.
Windows Anti-virus software flags the contents of these packages!
If you downloaded Metasploit from us, there is no cause for alarm. We pride ourselves on offering the ability for our customers and followers to have the same toolset that the hackers have so that they can test systems more accurately. Because these (and the other exploits and tools in Metasploit) are identical or very similar to existing malicious toolsets, they can be used for nefarious purposes, and they are often flagged and automatically removed by antivirus programs, just like the malware they mimic.
Improving these installers
Feel free to review and help improve the source code for our installers.