Prep the spice mix: Mix red chili powder and salt in a bowl.
Fry the garlic: Heat coconut oil in a pan. Add the chopped garlic and fry on medium heat until it turns reddish-brown and crisp. Be careful not to burn.
Combine: Immediately pour the hot garlic along with the oil into the chili-salt mix. Stir well so the garlic is evenly coated.
Serve or store: Use immediately with dosa, idli, or rice, or store in an airtight jar at room temperature for 3–4 days (can last up to a week).