Command-line tool
gptfdisk
brew/gptfdisk
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Text-mode partitioning tools
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install gptfdisk
Linux
brew install gptfdisk
List partitions
sudo gdisk -l
Start the interactive partition manipulator
sudo gdisk /dev/sdX
Open a help menu
<?>
Related command-line tools
- pg_partman
Partition management extension for PostgreSQL - kahip
Karlsruhe High Quality Partitioning - util-linux
Collection of Linux utilities - fatsort
Sorts FAT16 and FAT32 partitions - pgslice
Postgres partitioning as easy as pie - gdisk
GPT fdisk is a disk partitioning tool loosely modeled on Linux fdisk, but used for modifying GUID Partition Table… - otadump
Extract partitions from Android OTA files. - e2fsprogs
Utilities for the ext2, ext3, and ext4 file systems
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents