Add onions, green chillies, curry leaves and fry until onions are golden brown. Add grated coconut and fry for a minute.
Then add cooked rice, salt and keep stirring for few minutes until all gets mixed well.
Lower the flame and cook it covered with a lid for 10-15 minutes or can be cooked in microwave for 4-5 minutes so that it gets more flavoured.
Garnish with fried cashew nuts and coriander leaves and serve hot.