-
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 -m
orarch
. -
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-core
folder:cd frida-core
-
Unpack the archive:
tar -xf <archive_name>
-
Set the
FRIDA_CORE_DEVKIT
variable by specifying the full path to thefrida-core
folder. 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
.bashrc
file 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.