macOS
brew install open-ocdlocal Homebrew formula metadata
sudo port install openocdMacPorts ports tree · cross/openocd/Portfile · source: api.github.com
brew
On-chip debugging, in-system programming and boundary-scan testing. Version 0.12.0 via Homebrew; verified from local package data.
install
brew install open-ocdlocal Homebrew formula metadata
sudo port install openocdMacPorts ports tree · cross/openocd/Portfile · source: api.github.com
sudo apk add openocdAlpine Linux edge package indexes · openocd · source: dl-cdn.alpinelinux.org
sudo apt install openocdDebian stable package indexes · openocd · source: deb.debian.org
sudo dnf install openocdFedora Rawhide package metadata · openocd · source: dl.fedoraproject.org
nix profile install nixpkgs#openocdnixpkgs package indexes · pkgs/by-name/op/openocd/package.nix · source: api.github.com
sudo pacman -S openocdArch Linux sync databases · openocd · source: geo.mirror.pkgbuild.com
sudo zypper install openocdopenSUSE Tumbleweed package metadata · openocd · source: download.opensuse.org
scoop install main/openocdScoop official bucket manifest trees · bucket/openocd.json · source: api.github.com
overview
On-chip debugging, in-system programming and boundary-scan testing
history
OpenOCD, the Open On-Chip Debugger, is a command-line server and toolset for embedded debugging, in-system flash programming, and boundary-scan work. It sits between host debuggers such as GDB and hardware debug adapters that speak transports such as JTAG or SWD.
OpenOCD was created by Dominic Rath as part of a 2005 diploma thesis at the University of Applied Sciences Augsburg. Its documentation describes the project as having grown from that thesis into an open-source project supported by software and hardware developers around the world.
The project's scope expanded from JTAG-centered on-chip debugging into a practical embedded bring-up tool: it handles debug adapters, target configuration scripts, CPU cores, flash chips, FPGA/PLD loading paths, and server interfaces for GDB, Telnet, and RPC clients.
OpenOCD became a common tool in embedded development because it gives open tooling a shared place to encode adapter and board knowledge. The user guide documents bundled script libraries for interfaces, boards, targets, and site-specific configuration, which is why many vendor and community board workflows invoke openocd with one or two -f script arguments.
Distribution packaging spread it broadly across embedded Linux and desktop development environments. Homebrew, Debian, Fedora, Arch, Nix, Scoop, and other package managers expose the same openocd executable, making it a portable default for projects that want to document one debugger command.
A typical OpenOCD session names an adapter script and a board or target script, starts the OpenOCD server, waits for a JTAG or SWD target to be detected, and then connects GDB to the server for breakpoints, stepping, register access, and memory inspection.
For production and lab work, OpenOCD is also used for flash programming and boundary-scan tasks. The documentation covers NOR and NAND flash support, PLD/FPGA loading commands, and SVF/XSVF execution for JTAG test patterns.
OpenOCD is package-nerd significant because its executable is only half the package. The script library, USB permissions, adapter driver choices, Tcl integration, and packaged target definitions are what turn the binary into a usable hardware tool.
It also shows why embedded packages are unusually sensitive to version and build options: support for a specific probe, chip, flash driver, or board script can decide whether a firmware workflow works at all.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
openocd.cfg$(INSTALLDIR)/scriptsexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
openocd | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:open-ocd |
|---|---|
| Version | 0.12.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/open-ocd |
| Homepage | https://openocd.org/ |
| Repository | https://github.com/openocd-org/openocd |
| Upstream docs | https://openocd.org/doc/html/index.html |
| License | GPL-2.0-or-later |
| Source archive | https://downloads.sourceforge.net/project/openocd/openocd/0.12.0/openocd-0.12.0.tar.bz2 |
| Dependencies | capstone, hidapi, libftdi, libusb |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | open-ocd |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
openocd
sudo port install openocdopenocd 0.12.0-3+b2
Open on-chip JTAG/SWD debug solution for embedded target devices
http://openocd.sourceforge.net/
sudo apt install openocdopenocd
nix profile install nixpkgs#openocdopenocd 0.12.0-1build2
Open on-chip JTAG/SWD debug solution for embedded target devices
http://openocd.sourceforge.net/
sudo apt install openocdopenocd 0.12.0-r7
Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing
sudo apk add openocdopenocd-dev 0.12.0-r7
Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing (development files)
sudo apk add openocd-devopenocd-doc 0.12.0-r7
Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing (documentation)
sudo apk add openocd-docopenocd-udev 0.12.0-r7
udev rules for openocd
sudo apk add openocd-udevopenocd 0.12.0-3.fc42.5
Debugging, in-system programming and boundary-scan testing for embedded devices
https://sourceforge.net/projects/openocd
sudo dnf install openocdopenocd 1:0.12.0-5
Debugging, in-system programming and boundary-scan testing for embedded target devices
sudo pacman -S openocdopenocd 0.12.0-2.11
Debugging, in-system programming and boundary-scan testing for embedded devices
http://openocd.sourceforge.net/
sudo zypper install openocdopenocd-data 0.12.0-2.11
Hardware Scripts for OpenOCD
http://openocd.sourceforge.net/
sudo zypper install openocd-datamain/openocd
scoop install main/openocdsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.