# Install delve with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Debugger for the Go programming language. Version 1.27.0 via Homebrew; verified 2026-07-28. Also installable with debian: sudo apt install delve.

## Install

```sh
sudo av install brew:delve
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install delve
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install delve
```

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

### Linux

- apk (92%):

```sh
sudo apk add delve
```

  Evidence: Alpine Linux edge package indexes: delve from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install delve
```

  Evidence: Debian stable package indexes: delve from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install delve
```

  Evidence: Fedora Rawhide package metadata: delve from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#delve
```

  Evidence: nixpkgs package indexes: pkgs/by-name/de/delve/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S delve
```

  Evidence: Arch Linux sync databases: delve from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install delve
```

  Evidence: openSUSE Tumbleweed package metadata: delve from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:delve
- **Package manager:** Homebrew
- **Version:** 1.27.0
- **Source summary:** Debugger for the Go programming language
- **Homepage:** <https://github.com/go-delve/delve>
- **Repository:** <https://github.com/go-delve/delve>
- **Last updated:** 2026-07-28T14:10:38+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- dlv (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.27.0
## Project history and usage

Delve is the standard source-level debugger for Go programs. It packages Go-aware debugging, goroutine inspection, core-file support, headless operation, and Debug Adapter Protocol support behind the dlv command.

### Project history

The official repository describes Delve's goal as a simple, full-featured debugger for Go that stays out of the user's way. GitHub repository metadata places the public project in May 2014, during the period when Go users were outgrowing general-purpose debugger workflows and needed tooling that understood Go runtime behavior.

Delve's documentation grew around a command family rather than a single mode: dlv debug, exec, attach, core, test, trace, replay, connect, dap, and related subcommands. That breadth made it useful both as an interactive terminal debugger and as the debug engine behind editors.

### Adoption history

Delve became the practical default debugger for Go because it is distributed as a Go command, publishes prebuilt binaries, and exposes integrations for plugins, GUIs, and DAP clients. The official installation docs document go install, binary releases, and building from the repository.

The release feed shows ongoing maintenance through the 1.27.0 release in June 2026, which matters for Go tooling because debugger support must track compiler, runtime, OS, and architecture changes.

### How it is used

Typical CLI use starts with dlv debug for the package in the current directory, dlv test for test binaries, dlv exec for an existing binary, or dlv attach for a running process. The usage docs emphasize controlling execution, evaluating variables, and inspecting goroutine, thread, and CPU register state.

In editor workflows, Delve commonly runs as a headless debug server or DAP server. That lets IDEs and editors provide breakpoints and stepping while reusing the same Go-specific debugger backend.

### Why package nerds care

Delve is interesting to package maintainers because it is both a developer CLI and a moving compatibility target for the Go toolchain. A stale debugger package can fail even when ordinary Go builds still work.

Its packaging footprint is also a marker of Go's maturation: once a language has a dedicated debugger in every major package manager, the ecosystem has moved beyond compile-and-print debugging as the default developer experience.

### Timeline

- 2014: The go-delve/delve repository is created on GitHub.
- 2021: The installation docs document module-aware go install commands for released versions.
- 2025: Delve 1.25.x releases continue through GitHub releases.
- 2026: Delve 1.27.0 is published.

### Related projects

- The Go toolchain is Delve's primary target and distribution path.
- DAP-compatible editors and IDEs use Delve as a Go debug backend.
- rr replay support connects Delve to record-and-replay debugging workflows.

### Sources

- <https://github.com/go-delve/delve>
- <https://github.com/go-delve/delve/tree/master/Documentation>
- <https://github.com/go-delve/delve/blob/master/Documentation/usage/dlv.md>
- <https://github.com/go-delve/delve/blob/master/Documentation/installation/README.md>
- <https://api.github.com/repos/go-delve/delve>
- <https://api.github.com/repos/go-delve/delve/releases>


## Security Notes

escape, surveillance, or offensive capability signal. generalized runtime or code generation signal.

- **Geiger risk:** red / medium
- escape, surveillance, or offensive capability signal
- generalized runtime or code generation signal


## Configuration and credential file locations

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.


## Configuration files

- Unix: $XDG_CONFIG_HOME/dlv/config.yml, ~/.config/dlv/config.yml, ~/.dlv/config.yml
## Other Package-Manager Records

- Debian apt - delve - 1.24.0-4+b4: normalized package name match | Debian stable package indexes: delve from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | debugger for the Go programming language | https://github.com/go-delve/delve
- Nix - delve: normalized package name match | nixpkgs package indexes: pkgs/by-name/de/delve/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - delve - 1.22.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: delve from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | debugger for the Go programming language | https://github.com/go-delve/delve
- apk - delve - 1.26.2-r2: normalized package name match | Alpine Linux edge package indexes: delve from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Debugger for the Go programming language | https://github.com/go-delve/delve
- apk - delve-doc - 1.26.2-r2: normalized package name match | Alpine Linux edge package indexes: delve-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Debugger for the Go programming language (documentation) | https://github.com/go-delve/delve
- dnf - delve - 1.27.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: delve from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A debugger for the Go programming language | https://github.com/go-delve/delve
- pacman - delve - 1.27.0-1: normalized package name match | Arch Linux sync databases: delve from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A debugger for the Go programming language. | https://github.com/go-delve/delve
- zypper - delve - 1.27.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: delve from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Debugger for the Go Programming Language | https://github.com/go-delve/delve
- MacPorts - delve: normalized package name match | MacPorts ports tree: devel/delve/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
