An alternative is to cut the top off the bulb, coat the cloves by dribbling olive oil (or other oil-based seasoning) over them, and roast them in an oven.
The seasoning varies from plain salt to spices like green chilli, red chilli powder, black pepper, whole and powdered mustard seeds, coriander seeds, etc.