This guide shows how to format and write a Kali Linux ISO/IMG file to a USB drive using Terminal on macOS.
- Get the latest installer ISO/IMG from the official Kali Linux download page.
- For Apple Silicon Macs, use the ARM64 installer image.
List all disks:
diskutil list external physicalFind your USB device (e.g., /dev/disk4).
Unmount all mounted volumes from the USB:
diskutil unmountDisk force /dev/disk4Some Kali images come as .iso. Convert to .img:
hdiutil convert -format UDRW -o ~/Downloads/kali.img ~/Downloads/kali-linux-2025.2-installer-arm64.isomacOS will append .dmg, resulting in kali.img.dmg.
Use dd to copy the image.
sudo dd if=~/Downloads/kali-linux-2025.2-installer-arm64.img.dmg of=/dev/rdisk4 bs=4m status=progress
syncNotes:
- Use
/dev/rdiskX(raw device) instead of/dev/diskXfor faster writes. - Replace
disk4with your actual USB device.
When the process finishes:
diskutil eject /dev/disk4- Insert the USB into the target computer.
- Open BIOS/UEFI (usually F12, DEL, or ESC at startup).
- Select the USB device to boot.
- Install Kali Linux.
✅ You now have a bootable Kali Linux USB installer created on macOS.