Packages Ghidra into a MacOS .app bundle. Requires a compatible installed system JDK; see GhidraMacOS for a version that bundles OpenJDK.
One-line Ghidra MacOS install:
curl -Lo /tmp/ghidra.zip "$(curl -sSL "https://api.github.com/repos/NationalSecurityAgency/ghidra/releases/latest" | plutil -extract assets.0.browser_download_url raw -o - -)" && curl -sSL https://gist.githubusercontent.com/101arrowz/12a57e86286c3c8628e658187a4371f1/raw/package.sh | sh -s -- -o /Applications -y /tmp/ghidra.zipTo produce a Ghidra.app bundle in the current working directory, download this script and a Ghidra release .zip, then run: