Dust is a simple command-line tool for checking storage usage on your device. It shows the size of files and folders in an easy-to-read tree format. You can use Dust to find large files, check folder sizes, filter files, and explore your storage. You can run simple commands to see where your storage space is being used.
Here’s what you can do with Dust in Termux:
- Check disk space usage.
- Find large files and directories.
- Display directory sizes in a tree format.
- Set the depth of the directory tree.
- Show a specific number of large entries.
- Ignore hidden files.
- Filter files using patterns.
- Show only files or directories.
- Display file types.
- Export the directory tree as JSON.
Install Dust in Termux
You only need one command to install Dust in Termux. Run the command below to install it.
Update Termux packages.
pkg update && pkg upgrade -yInstall Dust.
pkg install dustDust is now installed and ready to use.
Use Dust in Termux
After installing Dust, you can use different commands to check storage usage and find files that take up more space.
Check the current directory.
dustCheck a specific directory.
dust /data/data/com.termux/files/homeShow a specific directory depth.
dust -d 2Show the 10 largest entries.
dust -n 10Display full paths.
dust -pIgnore a specific directory.
dust -X node_modulesDereference symbolic links.
dust -LOnly count files on the same filesystem.
dust -xUse apparent file size instead of disk blocks.
dust -sReverse the tree order.
dust -rDisable colors.
dust -cDisable percentage bars.
dust -bMove percentage bars to the right.
dust -BSet a minimum file size.
dust -z 10MUse screen-reader mode.
dust -RHide the total row.
dust --skip-totalShow the number of child files instead of disk size.
dust -fIgnore hidden files.
dust -iExclude files using a regular expression.
dust -v "\.png$"Show only files matching a pattern.
dust -e "\.jpg$"Show only selected file types.
dust -tShow only directories.
dust -DShow only files.
dust -FSet the terminal width.
dust -w 100Disable the progress indicator.
dust -PShow errors while scanning.
dust --print-errorsChange the output size format.
dust -o mbDisplay the directory tree as JSON.
dust -jCheck files by modification time.
dust -M 7Check files by access time.
dust -A 7Check files by change time.
dust -y 7Show the help menu.
dust --helpDisplay the installed version.
dust --versionYou can combine different options for more detailed results. For example, the following command shows the 10 largest entries with a directory depth of 2:
dust -d 2 -n 10End Note
Dust is a simple tool for checking storage usage in Termux. It shows files and folders with their sizes in a clear tree format. You can use different options to filter results, find large files, and explore directories. It is useful for keeping track of storage space from the terminal.

