Two ways to install—
1. Install from prebuilt binaries
This is the recommended way to get started. All you need to do is:
pip install frida # CLI tools and Python bindings npm install frida # Node.js bindings
You may also download pre-built binaries for various operating systems from http://build.frida.re/frida/.
2. Build your own binary
For running the Frida tools (
frida-discover) you need Python plus a few packages:
pip3 install colorama prompt-toolkit pygments
macOS and iOS
First make a trusted code-signing certificate. You can use the guide at
https://sourceware.org/gdb/wiki/BuildingOnDarwin in the section
“Creating a certificate”. You can use the name
frida-cert instead of
gdb-cert if you'd like.
Next export the name of the created certificate to the environment
IOS_CERTID and run
export MAC_CERTID=frida-cert export IOS_CERTID=frida-cert make
To ensure that macOS accepts the newly created certificate, restart the
sudo killall taskgated
(Requires Visual Studio 2015.)
See http://www.frida.re/docs/building/ for details.
Have a look at our documentation.