cfdisk

A program for managing partition tables and partitions on a hard disk using a curses UI. More information: <https://manned.org/cfdisk>.

Install

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

A program for managing partition tables and partitions on a hard disk using a curses UI. More information: <https://manned.org/cfdisk>.

  • Start the partition manipulator with a specific device:
    cfdisk /dev/sdX
  • Create a new partition table for a specific device and manage it:
    cfdisk --zero /dev/sdX

© tl;dr; authors and contributors