diskutil

diskutil is the command line version of Disk Utility, the macOS application used to manage hard drives.