sgdisk

GPT fdisk text-mode partitioning tool

Install

All systems
curl cmd.cat/sgdisk.sh
Debian Debian
apt-get install gdisk
Ubuntu
apt-get install gdisk
Alpine
apk add gptfdisk
Arch Arch Linux
pacman -S gptfdisk
image/svg+xml Kali Linux
apt-get install gdisk
CentOS
yum install gdisk
Fedora
dnf install gdisk
Windows (WSL2)
sudo apt-get update sudo apt-get install gdisk
OS X
brew install gptfdisk
Raspbian
apt-get install gdisk
Docker
docker run cmd.cat/sgdisk sgdisk powered by Commando

gdisk

GPT fdisk text-mode partitioning tool

GPT fdisk (aka gdisk) is a text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks, rather than on the more common (through 2009) Master Boot Record (MBR) partition tables. Please note that gdisk is still in beta version.

gptfdisk

A text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks

gdisk-noicu

GPT fdisk text-mode partitioning tool (without unicode support)