-
Update the packages on your device:
pkg update -y && pkg upgrade -y -
Install wget and git:
pkg install wget git -y
-
Go to the official Frida GitHub website: https://github.com/frida/frida/releases
-
Copy the link to the archive with the latest version of Frida core devtools for your device. To determine the architecture of your processor, run the command
uname -morarch. -
Enter the following command in the console to download the archive:
wget <archive_link>
-
Create a folder to store the Frida files:
mkdir frida-core
-
Move the downloaded archive to this folder:
mv <archive_name> frida-core
-
Navigate to the
frida-corefolder:cd frida-core -
Unpack the archive:
tar -xf <archive_name>
-
Set the
FRIDA_CORE_DEVKITvariable by specifying the full path to thefrida-corefolder. To find out the current path, run the commandpwd.export FRIDA_CORE_DEVKIT=/full/path/to/folder -
To save the variable, add it to the
.bashrcfile and run the commandsource ~/.bashrc:echo "export FRIDA_CORE_DEVKIT=/full/path/to/folder" >> ~/.bashrc source ~/.bashrc
-
Install frida and frida-tools using pip3:
pip3 install frida frida-tools
You have successfully installed Frida in termux. You can now use it for application development and analysis.