This script automates the process of installing Ghidra as a self-contained OSX .app
without contaminating your system with a separate Java installation. It is specifically designed for ARM64 architecture, making it suitable for Apple's M1, M2, M3, and other ARM-based Macs.
- macOS running on ARM64 architecture (M1, M2, M3, etc.).
- Python 3.6 or later.
- Internet connection for downloading necessary files.
- Downloads the AppleScript template for the Ghidra launcher.
- Downloads and extracts the latest OpenJDK.
- Downloads and extracts the latest Ghidra.
- Copies the Ghidra
.app
to your Applications directory. - Provides a colorful ASCII art banner for a fun experience.
- Displays progress bars for downloads.
-
Clone this repository:
git clone https://www.github.com/ytisf/GhidraMacOS
-
Ensure you have Python 3 installed.
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the script:
python3 install_ghidra.py
-
Enjoy. You should have a
Ghidra.app
in your/Applications
.
- Special thanks to yifanlu for providing the AppleScript template used in this script & the inspiration.
- Of course - Ghidra.
This project is licensed under the MIT License.