DFHack Exterminate ~ Dwarf Fortress
The specific dfhack command to kill a unit is “exterminate”. Used with no argument, this command will list all possible targets to kill. An alternative for the sadistic is to use the DFHack command “liquids-here”, which will drop 7/7 magma on the location highlighted by your cursor.