Press saute mode on Instant Pot. Add oil and once it's hot, add whole spices, cumin and cashew-nuts.
Saute till cashew nuts turn light brown in color.
Then add sliced onions,ginger-garlic paste,green chillies .Saute for 2-3 minutes until they turn soft and light brown in color - stir regularly.
Then add tomatoes.cook for 2 minutes till they turn soft.
Add spinach leaves,green peas cook till the leaves wilt.
Add rinsed Basmati Rice,water,turmeric powder,garam masala powder,coriander powder,coriander leaves,lime juice and give a stir .
Close the lid on the pot, and turn valve from VENTING to SEALING position.
Press CANCEL button on Instant Pot.Set the pot to MANUAL/PRESSURE COOK button (High Pressure) and set timer to 6 minutes
Wait for Natural Pressure Release(NPR).BE CAREFUL OF THE HOT STEAM
Remove lid away from you,Mix well
Spinach Rice is ready.Serve with Raita or plain yogurt.