# 安装 ghidra

查看 ghidra 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:ghidra
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ghidra
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ghidra
```

  证据: MacPorts ports tree: devel/ghidra/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ghidra
```

  证据: Alpine Linux edge package indexes: ghidra from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#ghidra
```

  证据: nixpkgs package indexes: ghidra from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S ghidra
```

  证据: Arch Linux sync databases: ghidra from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Chocolatey (92%):

```sh
choco install ghidra
```

  证据: Chocolatey community package catalog: ghidra from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gauge'

- Scoop (92%):

```sh
scoop install extras/ghidra
```

  证据: Scoop official bucket manifest trees: bucket/ghidra.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:ghidra
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ghidra>
- **版本:** 12.1
- **来源摘要:** Multi-platform software reverse engineering framework
- **主页:** <https://github.com/NationalSecurityAgency/ghidra>
- **仓库:** <https://github.com/NationalSecurityAgency/ghidra>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/NationalSecurityAgency/ghidra/archive/refs/tags/Ghidra_12.1_build.tar.gz>
- **更新:** 2026-05-13T22:07:29Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- ghidraRun (cli)
- pyghidraRun (cli)
- ghidraRun (别名)
- pyghidraRun (别名)

## 依赖

- openjdk@21

## 构建依赖

- gradle
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 12.1
- 管理器更新时间: 2026-05-13
- 本地数据: ok
- 上游仓库: https://github.com/NationalSecurityAgency/ghidra
- info: No cached GitHub release or tag data was available.

## 安全说明

escape, surveillance, or offensive capability signal.

- **Geiger 风险:** red / medium
- escape, surveillance, or offensive capability signal

## 相关链接

- [openjdk@21](https://www.automicvault.com/pkg/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Build dependency declared by Homebrew.
- [gradle](https://www.automicvault.com/pkg/brew/gradle/) - Build dependency declared by Homebrew.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
