In the Terminal application we'll be using the du command.
Before that, let's pipe it to a sort operation to list directories by size in descending order with sort. This will take the -n option to sort by number and -r to list in reverse (descending) order.