# ghidra を Homebrew, apk, chocolatey, MacPorts, Nix, pacman, scoop でインストール

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','fusioninventory-agent'

- 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.2
- **ソース概要:** 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.2_build.tar.gz>
- **最終更新:** 2026-06-05T21:47:28Z
- **生成日時:** 2026-08-04T22:13:35+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-08-04
- マネージャ版: 12.1.2
- マネージャ更新日: 2026-06-05
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/NationalSecurityAgency/ghidra
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

Ghidra is NSA's open-source software reverse engineering framework, combining disassembly, decompilation, graphing, scripting, collaboration, and extension development across many processor architectures and executable formats.

### プロジェクトの歴史

NSA publicly released Ghidra at the 2019 RSA Conference after years of research and development aimed at difficult software reverse engineering mission problems. The project README says it was built to solve scaling and teaming problems on complex analysis efforts and to provide a customizable research platform.

### 採用の歴史

NSA described the public reaction as overwhelming after release, with hundreds of thousands of downloads and millions of website views in the first days. Four years later, NSA reported more than one million public downloads, use in college curricula, books and videos, operational use by technology and cybersecurity companies, and community contributions through GitHub.

### 使われ方

Practitioners use Ghidra interactively for reverse engineering compiled code and in automated modes for batch analysis. Common workflows include importing binaries, disassembling and decompiling functions, using the Sleigh processor specification language and P-code model, writing Java or Python scripts, and building extensions.

### パッケージ好きにとっての重要性

Ghidra became significant to security packagers because a high-end reverse engineering suite moved from a government internal tool to a redistributable Apache-licensed project. The official release packaging is a multi-platform zip rather than a traditional installer, which made package-manager formulas and wrappers valuable for users who prefer reproducible installs.

### タイムライン

- 2019: NSA released Ghidra to the public at RSA Conference.
- 2019: The public GitHub repository and Ghidra 9.0.1 release appeared.
- 2023: NSA reported more than one million public downloads across the first four years.

### Related projects

- The Ghidra source tree includes PyGhidra, GhidraDev, Sleigh, a headless analyzer, a server component, and extension APIs for Java and Python users.

### ソース

- <https://github.com/NationalSecurityAgency/ghidra>
- <https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_9.0.1_build>
- <https://raw.githubusercontent.com/NationalSecurityAgency/ghidra/master/DevGuide.md>
- <https://raw.githubusercontent.com/NationalSecurityAgency/ghidra/master/GhidraDocs/GettingStarted.md>
- <https://www.nsa.gov/Press-Room/News-Highlights/Article/Article/1775584/ghidra-the-software-reverse-engineering-tool-youve-been-waiting-for-is-here/>
- <https://www.nsa.gov/Press-Room/News-Highlights/Article/Article/3319971/four-years-later-the-impacts-of-ghidras-public-release/>


## セキュリティノート

escape, surveillance, or offensive capability signal.

- **Geiger リスク:** red / 中
- escape, surveillance, or offensive capability signal

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ghidra
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Nix - ghidra: normalized package name match | nixpkgs package indexes: ghidra from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - ghidra - 12.1.2-r0: normalized package name match | Alpine Linux edge package indexes: ghidra from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A Cross Platform and Open Source Electronics Design Automation Suite | https://ghidra-sre.org/
- apk - ghidra-doc - 12.1.2-r0: normalized package name match | Alpine Linux edge package indexes: ghidra-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A Cross Platform and Open Source Electronics Design Automation Suite (documentation) | https://ghidra-sre.org/
- apk - ghidra-tutorials - 12.1.2-r0: normalized package name match | Alpine Linux edge package indexes: ghidra-tutorials from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Ghidra tutorial files | https://ghidra-sre.org/
- pacman - ghidra - 12.1.2-2: normalized package name match | Arch Linux sync databases: ghidra from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Software reverse engineering framework | https://ghidra-sre.org/
- MacPorts - ghidra: normalized package name match | MacPorts ports tree: devel/ghidra/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - ghidra: normalized package name match | Chocolatey community package catalog: ghidra from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','fusioninventory-agent'
- Scoop - extras/ghidra: normalized package name match | Scoop official bucket manifest trees: bucket/ghidra.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openjdk@21](https://pkg.so/ja/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Build dependency declared by Homebrew.
- [gradle](https://pkg.so/ja/brew/gradle/) - Build dependency declared by Homebrew.
- [rizin](https://pkg.so/ja/brew/rizin/) - Shares pkgdb curated category or tags: cli, disassembler, reverse-engineering, security.
- [retdec](https://pkg.so/ja/brew/retdec/) - Shares pkgdb curated category or tags: cli, decompiler, reverse-engineering, security.
- [jadx](https://pkg.so/ja/brew/jadx/) - Shares pkgdb curated category or tags: cli, decompiler, reverse-engineering, security.
- [radare2](https://pkg.so/ja/brew/radare2/) - Shares pkgdb curated category or tags: cli, disassembler, reverse-engineering, security.
- [urh](https://pkg.so/ja/brew/urh/) - Shares pkgdb curated category or tags: cli, reverse-engineering, security.
- [gnutls](https://pkg.so/ja/brew/gnutls/) - Shares pkgdb curated category or tags: cli, security.
- [krb5](https://pkg.so/ja/brew/krb5/) - Shares pkgdb curated category or tags: cli, security.
- [nettle](https://pkg.so/ja/brew/nettle/) - Shares pkgdb curated category or tags: cli, security.

## Combined YAML source

View the package source record on GitHub. [combined/ghidra.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ghidra.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
