Automic VaultAutomic Vault

brew

Install gdu with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Disk usage analyzer with console interface written in Go. Version 5.36.1 via Homebrew; verified 2026-04-30.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gdu

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gdu

MacPorts ports tree · sysutils/gdu/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add gdu

Alpine Linux edge package indexes · gdu · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install gdu

Debian stable package indexes · gdu · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install gdu

Fedora Rawhide package metadata · gdu · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gdu

nixpkgs package indexes · pkgs/by-name/gd/gdu/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S gdu

Arch Linux sync databases · gdu · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install gdu

openSUSE Tumbleweed package metadata · gdu · source: download.opensuse.org

overview

Package summary

Disk usage analyzer with console interface written in Go

Commands and aliases

  • gdu-go

history

Project history and usage

gdu is a fast terminal disk-usage analyzer written in Go, intended especially for SSDs where parallel directory scanning can be used effectively.

Project history

The official repository was created in 2018 and presents gdu as a Go disk-usage analyzer with a console interface. Its README emphasizes interactive, non-interactive, and export modes, and explains that Gdu is primarily intended for SSD disks while still supporting HDDs with less performance gain.

Over time gdu added YAML configuration, JSON export/import, database-backed saved analyses, archive browsing, profiling, file viewing and deletion controls, and terminal styling options, while remaining a single command-line utility.

Adoption history

The official installation page lists packages or installation methods across Arch Linux, Debian, Ubuntu, NixOS, Homebrew, Mise, Snap, Binenv, Go, Winget, Scoop, X-cmd, and COPR builds. In Homebrew, the package is installed as gdu-go to avoid a conflict with GNU coreutils.

How it is used

Typical usage is running gdu against a directory or filesystem to browse large files interactively, or using non-interactive flags for summaries, top-N output, JSON export, ignored paths, age filters, and apparent-size or disk-usage views. Configuration is read from ~/.config/gdu/gdu.yaml or ~/.gdu.yaml.

Why package nerds care

gdu belongs to the modern wave of fast, packaged replacements for classic Unix inspection tools: a Go binary with cross-platform releases, package-manager breadth, and terminal UI ergonomics. Its Homebrew rename to gdu-go is a small but classic package-manager detail caused by command-name conflicts.

Timeline

  • 2018: Official GitHub repository created.
  • 2024: v5.x line continued with regular releases.
  • 2026: v5.36.x releases published.

Related projects

  • gdu is related to classic du-style disk accounting tools and terminal disk analyzers. Its package-manager story is also related to GNU coreutils because Homebrew avoids installing it as gdu when that name would conflict.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
~/.config/gdu/gdu.yaml~/.gdu.yaml

executables

Installed executables

CommandKindExposureNote
gdu-gocliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version5.36.1
manager updated2026-04-30
local dataok
upstreamcurrent
latest detectedv5.36.1

https://github.com/dundee/gdu

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:gdu
Version5.36.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gdu
Homepagehttps://github.com/dundee/gdu
Repositoryhttps://github.com/dundee/gdu
Upstream docshttps://github.com/dundee/gdu#readme
LicenseMIT
Source archivehttps://github.com/dundee/gdu/archive/refs/tags/v5.36.1.tar.gz
Last updated2026-04-30T00:20:06Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsTo avoid a conflict with `coreutils`, `gdu` has been installed as `gdu-go`.

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegdu
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

gdu 5.25.0-1+b8

Pretty fast disk usage analyzer

https://github.com/dundee/gdu

sudo apt install gdu
  • Section: admin
  • Architecture: amd64
  • Source Package: gdu
  • 1 dependencies
  • normalized package name match
  • Matched by: Gdu
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gdu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gdu

nix profile install nixpkgs#gdu
  • normalized package name match
  • Matched by: Gdu
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gd/gdu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gdu 5.25.0-1

Pretty fast disk usage analyzer

https://github.com/dundee/gdu

sudo apt install gdu
  • Section: universe/admin
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Gdu
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gdu from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gdu 5.36.1-r0

Fast disk usage calculator with console interface

https://github.com/dundee/gdu

sudo apk add gdu
  • License: MIT
  • Architecture: x86_64
  • Source Package: gdu
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gdu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gdu from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gdu-doc 5.36.1-r0

Fast disk usage calculator with console interface (documentation)

https://github.com/dundee/gdu

sudo apk add gdu-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: gdu
  • normalized package name match
  • Matched by: Gdu
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gdu-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gdu 5.32.0-3.fc44

Fast disk usage analyzer with console interface written in Go

https://github.com/dundee/gdu

sudo dnf install gdu
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gdu
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Gdu
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gdu from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

gdu 5.36.1-1

Fast disk usage analyzer

https://github.com/dundee/gdu

sudo pacman -S gdu
  • License: MIT
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Gdu
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gdu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gdu 5.32.0-1.4

Fast disk usage analyzer with console interface

https://github.com/dundee/gdu

sudo zypper install gdu
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gdu
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gdu
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gdu from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gdu

sudo port install gdu
  • normalized package name match
  • Matched by: Gdu
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/gdu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

gdu

choco install gdu
  • normalized package name match
  • Matched by: Gdu
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: gdu from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gawk'
Scoop95%

main/gdu

scoop install main/gdu
  • normalized package name match
  • Matched by: Gdu
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/gdu.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

dundee.gdu

winget install --id dundee.gdu -e
  • normalized package name match
  • Matched by: Gdu
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: dundee.gdu from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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