[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4897":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":41,"readmeContent":42,"aiSummary":43,"trendingCount":16,"starSnapshotCount":16,"syncStatus":44,"lastSyncTime":45,"discoverSource":46},4897,"duf","muesli\u002Fduf","muesli","Disk Usage\u002FFree Utility - a better 'df' alternative","",null,"Go",15192,461,86,55,0,20,110,240,79,42.99,"Other",false,"master",true,[27,28,29,30,31,32,33,34,35,36,37,38,39,40],"cli","df","disk-space","disk-usage","filesystem","freebsd","hacktoberfest","linux","macos","openbsd","terminal","tui","user-friendly","windows","2026-06-12 02:01:05","# duf\n\n[![Latest Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease\u002Fmuesli\u002Fduf.svg?style=for-the-badge)](https:\u002F\u002Fgithub.com\u002Fmuesli\u002Fduf\u002Freleases)\n[![Go Doc](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fgodoc-reference-blue.svg?style=for-the-badge)](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Fmuesli\u002Fduf)\n[![Software License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg?style=for-the-badge)](\u002FLICENSE)\n[![Build Status](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fmuesli\u002Fduf\u002Fbuild.yml?style=for-the-badge&branch=master)](https:\u002F\u002Fgithub.com\u002Fmuesli\u002Fduf\u002Factions)\n[![Go ReportCard](https:\u002F\u002Fgoreportcard.com\u002Fbadge\u002Fgithub.com\u002Fmuesli\u002Fduf?style=for-the-badge)](https:\u002F\u002Fgoreportcard.com\u002Freport\u002Fmuesli\u002Fduf)\n\nDisk Usage\u002FFree Utility (Linux, BSD, macOS & Windows)\n\n![duf](\u002Fduf.png)\n\n## Features\n\n- [x] User-friendly, colorful output\n- [x] Adjusts to your terminal's theme & width\n- [x] Sort the results according to your needs\n- [x] Groups & filters devices\n- [x] Can conveniently output JSON\n\n## Installation\n\n### Packages\n\n#### Linux\n- Arch Linux: `pacman -S duf`\n- Ubuntu (22.04 and later) \u002F Debian (12 and later): `apt install duf`\n- Fedora Linux: `dnf install duf`\n- Nix: `nix-env -iA nixpkgs.duf`\n- Void Linux: `xbps-install -S duf`\n- Gentoo Linux: `emerge sys-fs\u002Fduf`\n- Solus: `eopkg it duf`\n- [Packages](https:\u002F\u002Fgithub.com\u002Fmuesli\u002Fduf\u002Freleases) in Alpine, Debian & RPM formats\n\n#### BSD\n- FreeBSD: `pkg install duf`\n- OpenBSD: `pkg_add duf`\n\n#### macOS\n- with [Homebrew](https:\u002F\u002Fbrew.sh\u002F): `brew install duf`\n- with [MacPorts](https:\u002F\u002Fwww.macports.org): `sudo port selfupdate && sudo port install duf`\n\n#### Windows\n- with [Chocolatey](https:\u002F\u002Fchocolatey.org\u002F): `choco install duf`\n- with [scoop](https:\u002F\u002Fscoop.sh\u002F): `scoop install duf`\n\n#### Android\n- Android (via termux): `pkg install duf`\n\n### Binaries\n- [Binaries](https:\u002F\u002Fgithub.com\u002Fmuesli\u002Fduf\u002Freleases) for Linux, FreeBSD, OpenBSD, macOS, Windows\n\n### From source\n\nMake sure you have a working Go environment (Go 1.23 or higher is required).\nSee the [install instructions](https:\u002F\u002Fgolang.org\u002Fdoc\u002Finstall.html).\n\nCompiling duf is easy, simply run:\n\n    git clone https:\u002F\u002Fgithub.com\u002Fmuesli\u002Fduf.git\n    cd duf\n    go build\n\n## Usage\n\nYou can simply start duf without any command-line arguments:\n\n    duf\n\nIf you supply arguments, duf will only list specific devices & mount points:\n\n    duf \u002Fhome \u002Fsome\u002Ffile\n\nIf you want to list everything (including pseudo, duplicate, inaccessible file systems):\n\n    duf --all\n\n### Filtering\n\nYou can show and hide specific tables:\n\n    duf --only local,network,fuse,special,loops,binds\n    duf --hide local,network,fuse,special,loops,binds\n\nYou can also show and hide specific filesystems:\n\n    duf --only-fs tmpfs,vfat\n    duf --hide-fs tmpfs,vfat\n\n...or specific mount points:\n\n    duf --only-mp \u002F,\u002Fhome,\u002Fdev\n    duf --hide-mp \u002F,\u002Fhome,\u002Fdev\n\nWildcards inside quotes work:\n\n    duf --only-mp '\u002Fsys\u002F*,\u002Fdev\u002F*'\n\n### Display options\n\nSort the output:\n\n    duf --sort size\n\nValid keys are: `mountpoint`, `size`, `used`, `avail`, `usage`, `inodes`,\n`inodes_used`, `inodes_avail`, `inodes_usage`, `type`, `filesystem`.\n\nShow or hide specific columns:\n\n    duf --output mountpoint,size,usage\n\nValid keys are: `mountpoint`, `size`, `used`, `avail`, `usage`, `inodes`,\n`inodes_used`, `inodes_avail`, `inodes_usage`, `type`, `filesystem`.\n\nList inode information instead of block usage:\n\n    duf --inodes\n\nIf duf doesn't detect your terminal's colors correctly, you can set a theme:\n\n    duf --theme light\n\n### Color-coding & Thresholds\n\nduf highlights the availability & usage columns in red, green, or yellow,\ndepending on how much space is still available. You can set your own thresholds:\n\n    duf --avail-threshold=\"10G,1G\"\n    duf --usage-threshold=\"0.5,0.9\"\n\n### Bonus\n\nIf you prefer your output as JSON:\n\n    duf --json\n\n## Troubleshooting\n\nUsers of `oh-my-zsh` should be aware that it already defines an alias called\n`duf`, which you will have to remove in order to use `duf`:\n\n    unalias duf\n\n## Feedback\n\nGot some feedback or suggestions? Please open an issue or drop me a note!\n\n* [Twitter](https:\u002F\u002Ftwitter.com\u002Fmueslix)\n* [The Fediverse](https:\u002F\u002Fmastodon.social\u002F@fribbledom)\n","duf 是一个用于显示磁盘使用情况和剩余空间的实用工具，旨在成为传统 df 命令的更友好替代品。该项目采用 Go 语言编写，提供直观且色彩丰富的输出，并能根据终端主题和宽度自动调整界面。duf 支持对结果进行排序、分组过滤设备以及方便地输出 JSON 格式数据等功能。它跨平台支持 Linux、BSD、macOS 和 Windows 系统，适用于需要监控或管理服务器、个人计算机上存储资源的各种场景，如系统管理员日常运维、开发者调试环境等。",2,"2026-06-11 03:01:21","top_language"]