Setup¤
There are multiple ways to install pwndbg, depending on whether you want to use it with GDB, with LLDB, use a portable release, or install it from source.
Installing pwndbg-gdb¤
Install via curl/sh (Linux/macOS)
Install via Homebrew (macOS) Install via the Nix package manager (Linux/macOS)Through package manager¤
When installing with GDB, you may also download a package to install through your package manager of choice. Download the package from the releases page and pick the appropriate download from the second table.
RPM-based Systems (CentOS/Alma/Rocky/RHEL):
DEB-based Systems (Debian/Ubuntu/Kali): Alpine: Arch Linux:Installing pwndbg-lldb¤
These installation methods provide the
command.Install via curl/sh (Linux/macOS)
Install via Homebrew (macOS) Install via the Nix package manager (Linux/macOS):Download the Portable Version¤
You can download a portable release on the pwndbg releases page. There are seperate releases for GDB and LLDB. Use the first table to pick the appropriate download for your system architecture. You can then unpack the archive with:
And run pwndbg with or depending on which version you installed. You may add the appropriate file to your shell's PATH.Installing from source¤
See the relevant section in DEVELOPING.md: with GDB, with LLDB.