Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Duf | 11,041 | 3 days ago | 23 | March 02, 2022 | 53 | other | Go | |||
Disk Usage/Free Utility - a better 'df' alternative | ||||||||||
Packagephobia | 1,932 | 2 months ago | 14 | mit | TypeScript | |||||
⚖️ Find the cost of adding a new dependency to your project | ||||||||||
Diskonaut | 1,169 | a year ago | 11 | September 23, 2020 | 27 | mit | Rust | |||
Terminal disk space navigator 🔭 | ||||||||||
Kondo | 1,084 | 19 days ago | 4 | July 31, 2020 | 11 | mit | Rust | |||
Cleans dependencies and build artifacts from your projects. | ||||||||||
Modclean | 361 | 45 | 34 | a year ago | 24 | May 21, 2018 | 13 | mit | JavaScript | |
Remove unwanted files and directories from your node_modules folder | ||||||||||
Autarky | 304 | 3 months ago | 20 | January 03, 2021 | 29 | mit | TypeScript | |||
Liberating disk space from 📁 node_modules | Built with React | ||||||||||
Diskusage | 195 | a month ago | 35 | February 02, 2023 | 2 | apache-2.0 | Go | |||
💥A tool for showing disk usage. (Linux, MacOS and Windows) | ||||||||||
Vizex | 193 | a year ago | 22 | January 09, 2022 | 4 | mit | Python | |||
Visualize disk space and disk usage in your UNIX\Linux terminal | ||||||||||
Dfc | 93 | 10 months ago | 11 | bsd-3-clause | C | |||||
Report file system space usage information with style (mirror repository) | ||||||||||
Diskusage | 79 | 9 months ago | 20 | March 08, 2021 | 2 | mit | Go | |||
Duck is a very fast utility to find largest directories or files |
Disk Usage/Free Utility (Linux, BSD, macOS & Windows)
pacman -S duf
apt install duf
nix-env -iA nixpkgs.duf
xbps-install -S duf
emerge sys-fs/duf
pkg install duf
pkg_add duf
choco install duf
scoop install duf
pkg install duf
Make sure you have a working Go environment (Go 1.17 or higher is required). See the install instructions.
Compiling duf is easy, simply run:
git clone https://github.com/muesli/duf.git
cd duf
go build
You can simply start duf without any command-line arguments:
duf
If you supply arguments, duf will only list specific devices & mount points:
duf /home /some/file
If you want to list everything (including pseudo, duplicate, inaccessible file systems):
duf --all
You can show and hide specific tables:
duf --only local,network,fuse,special,loops,binds
duf --hide local,network,fuse,special,loops,binds
You can also show and hide specific filesystems:
duf --only-fs tmpfs,vfat
duf --hide-fs tmpfs,vfat
...or specific mount points:
duf --only-mp /,/home,/dev
duf --hide-mp /,/home,/dev
Wildcards inside quotes work:
duf --only-mp '/sys/*,/dev/*'
Sort the output:
duf --sort size
Valid keys are: mountpoint
, size
, used
, avail
, usage
, inodes
,
inodes_used
, inodes_avail
, inodes_usage
, type
, filesystem
.
Show or hide specific columns:
duf --output mountpoint,size,usage
Valid keys are: mountpoint
, size
, used
, avail
, usage
, inodes
,
inodes_used
, inodes_avail
, inodes_usage
, type
, filesystem
.
List inode information instead of block usage:
duf --inodes
If duf doesn't detect your terminal's colors correctly, you can set a theme:
duf --theme light
duf highlights the availability & usage columns in red, green, or yellow, depending on how much space is still available. You can set your own thresholds:
duf --avail-threshold="10G,1G"
duf --usage-threshold="0.5,0.9"
If you prefer your output as JSON:
duf --json
Users of oh-my-zsh
should be aware that it already defines an alias called
duf
, which you will have to remove in order to use duf
:
unalias duf
Got some feedback or suggestions? Please open an issue or drop me a note!