# 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-06-24.

## 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:delve
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/delve>
- **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>
- **Upstream docs:** <https://github.com/go-delve/delve#readme>
- **License:** MIT
- **Source archive:** <https://github.com/go-delve/delve/archive/refs/tags/v1.27.0.tar.gz>
- **Last updated:** 2026-06-24T20:58:38Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- dlv (cli)
- dlv (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.27.0
- Package-manager updated: 2026-06-24
- Local data: ok
- Upstream repository: https://github.com/go-delve/delve
- Upstream latest detected: v1.27.0 (current)
## 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
## Source Database Details

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

## 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-r1: 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-r1: 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.26.2-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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | A debugger for the Go programming language | https://github.com/go-delve/delve
- pacman - delve - 1.26.3-2: 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.26.3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: delve from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [ddd](https://www.automicvault.com/pkg/brew/ddd/) - Shares av.db curated category or tags: cli, debugger, debugging, developer-tools.
- [gdbgui](https://www.automicvault.com/pkg/brew/gdbgui/) - Shares av.db curated category or tags: cli, debugger, debugging, developer-tools, go.
- [gebug](https://www.automicvault.com/pkg/brew/gebug/) - Shares av.db curated category or tags: cli, debugging, developer-tools, go.
- [bashdb](https://www.automicvault.com/pkg/brew/bashdb/) - Shares av.db curated category or tags: cli, debugger, debugging, developer-tools.
- [cargo-careful](https://www.automicvault.com/pkg/brew/cargo-careful/) - Shares av.db curated category or tags: cli, debugging, developer-tools.
- [cdebug](https://www.automicvault.com/pkg/brew/cdebug/) - Shares av.db curated category or tags: cli, debugging, developer-tools.
- [chdig](https://www.automicvault.com/pkg/brew/chdig/) - Shares av.db curated category or tags: cli, debugging, developer-tools.
- [crash](https://www.automicvault.com/pkg/brew/crash/) - Shares av.db curated category or tags: cli, debugging, developer-tools.
- [docker-debug](https://www.automicvault.com/pkg/brew/docker-debug/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, debugging, developer, developer-tools, go.
- [oclgrind](https://www.automicvault.com/pkg/brew/oclgrind/) - Local package facts share a topical domain. Shared terms: cli, debugger, debugging, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/delve.yml](https://github.com/automic-vault/db/blob/main/combined/delve.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
