How to Check Disk Space in Mac Terminal

Shelly updated on Apr 01, 2025 to Partition Manager | How-to Articles

Learn to check disk space in Mac Terminal or EaseUS Partition Master on this page. You can also get related tips about how to check or manage your disk space.

When disk space becomes low, Mac users will receive a warning. Unfortunately, Apple warns at a late stage, usually when things are about to get nasty. When your disk space is nearing capacity, a notification stating "Your disk is almost full" will show. If you receive this notification, it's time to check your Mac's disk space.

Part 1. Check Disk Space in Mac Terminal  

Command-line interface (CLI)-based disk utilization analysis has various advantages over graphical user interface (GUI) options, particularly regarding flexibility and control. Before that, you'd better give Terminal full disk access in System Preferences > Security & Privacy > Privacy > Full Disk Access. 

Step 1. Launch Terminal > ensure you are in the the home folder.

Step 2. Type du -sh * (disk usage summary for the current directory in human-readable format).

Step 3. cd into another directory and run the command again to drill down further, identify files taking up a lot of space.

Step 4. Another suitable folder to check is ~/Library/. Another useful command is df -h which reports disk fullness.

Part 2. Check Disk Space on Mac via Easter Partition Master 

EaseUS Partition Master for Mac is the first suggested program for analyzing disk space, testing Mac hard drive speed, checking hard drive health on Mac, and so on. Specifically, this Mac disk space analyzer allows users to evaluate the state of their internal or external disks and receive recommendations for improving disk performance.

Key features:

  • Show users the total, used, and unused space percentages and display the file size in the more illustrative GB/MB/KB format.
  • Users can quickly access files by navigating to file views or folder attempts
  • Remove unwanted and hidden files with its Disk Cleanup or partition deletion feature
  • Provide additional features such as cloning, upgrading macOS, removing encryption from BitLocker, converting FAT32 to NTFS or exFAT without losing data, etc

Step 1. Run EaseUS Partition Master for Mac, select your target disk, and you'll see a few options.

Step 2. Locate the option related to Disk health.

  • If it shows "Disk health is Unknown (Request to install extension)," click on "Learn more" and move to Step 3.
  • If it shows "Disk health is valid," click on "S.M.A.R.T" and move to Step 5.

Step 3. In the new window, you'll be prompted to enable the EaseUS extension. Click the "Follow Guide" buttons below to get the detailed steps of each.

  • 1: Restart Mac to Recovery Mode and allow user management kernel extension in Recovery mode.
  • 2: Install the extension and click "Allow" in your Privacy & Security.

Step 4. Once you've completed the installation, the option will presented as "Disk health is valid." Then, click "S.M.A.R.T" to check your disk health.

Step 5. Then, the health condition of your disk will be presented on the new window.

Conclusion 

How to check disk space in Mac Terminal? After reading this article, you may understand how to check disk space in a Mac Terminal. You can also use EaseUS Partition Master to check your Mac's disk space.