Install
Download, extract and put nulldisk on your PATH:
macOS · Apple Silicon
mkdir -p ~/.local/bin && curl -fsSL https://assets.nulldisk.app/releases/cli/nulldisk-latest-macos-arm64.tar.gz | tar -xz -C ~/.local/bin nulldisk macOS · Intel
mkdir -p ~/.local/bin && curl -fsSL https://assets.nulldisk.app/releases/cli/nulldisk-latest-macos-x86_64.tar.gz | tar -xz -C ~/.local/bin nulldisk Linux · x86_64
mkdir -p ~/.local/bin && curl -fsSL https://assets.nulldisk.app/releases/cli/nulldisk-latest-linux-x86_64.tar.gz | tar -xz -C ~/.local/bin nulldisk Linux · ARM64
mkdir -p ~/.local/bin && curl -fsSL https://assets.nulldisk.app/releases/cli/nulldisk-latest-linux-arm64.tar.gz | tar -xz -C ~/.local/bin nulldisk Usage
nulldisk # interactive terminal UI
nulldisk ui ~/code # live disk map with a treemap
nulldisk dev -i # review development clutter
nulldisk dev ~/code --older-than 30d # report rebuildable files, worktrees
nulldisk clean ~/code --older-than 30d --yes # move rebuildable output to Trash
nulldisk scan ~/Downloads # text tree, 2 levels, top 20
nulldisk scan / --depth 1 --top 10
nulldisk scan /var --json > var.json # one JSON report for scripts
nulldisk scan ~/code --profile dev --jobs 8
nulldisk open ~/Downloads # macOS: open the folder in NullDisk Servers and SSH
The Linux builds are fully static, so you can copy them to any server and run them over SSH. The NullDisk Mac app can also scan remote Linux hosts over SSH by itself; it uploads its own small helper, so there is nothing to set up.
scp ~/Downloads/nulldisk user@server:~/nulldisk
ssh user@server '~/nulldisk scan /srv --depth 1 --json' > srv.json SHA-256 checksums
| nulldisk-2.0.1-macos-arm64.tar.gz | 80d996afedf49be98fe997017daa13f2c1ed27f8234cdb8ee0574b54a671721d |
| nulldisk-2.0.1-macos-x86_64.tar.gz | eafdff64d1f7c0306b84a6d8efaf5f0a74e11c925df38e5557abe5a5bc4f18b1 |
| nulldisk-2.0.1-linux-x86_64.tar.gz | 3e491e56a051f83a10c04ad5078cf7e53e13baa23facebbfccd6f0c6b31d3191 |
| nulldisk-2.0.1-linux-arm64.tar.gz | 2642a91c913e6d17c0a47656e729a237cdb4abc66585d8c6f374c5a4a54c5390 |
shasum -a 256 -c nulldisk-*.tar.gz.sha256