Installing Ghidra on Mac M1 feat. Installing Java, Gradle using Nix Env
Christine Lee
1 min read
Installing Java
I don't use flakes so I've installed using
nix-env -iA nixpkgs.jdk
Close and reopen terminal
Check with
java --version
andjavac --version
to confirm proper installation
Installing Gradle
Install Gradle to rebuild native binary for ARM64
I don't use flakes so I've installed using nix-env -iA nixpkgs.gradle
Close and reopen terminal
Check with
gradle --version
to confirm proper installation
Installing Ghidra
Install latest package from github repo
Run buildNatives inside support folder, like this
./buildNatives
Run ghidraRun to start Ghidra application
Reference
0
Subscribe to my newsletter
Read articles from Christine Lee directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by