Clean the chicken thighs and legs, using a knife, score the meat lightly (make smalll slits in the chicken) and mix together with yogurt and salt. Keep aside.
Blend the cashews that have been soaking in warm water to a paste (use just a little water to blend). Keep aside for later.
Turn the IP to 'Saute' mode and add the ghee or vegetable oil.
Once hot, add the chopped onions and saute for 4-5 minutes until lightly browned.
Hit 'Cancel' and add 1/2 cup of water and deglaze the pot, making sure nothing sticks to the bottom of the pot.
Add the chopped tomatoes and ginger-garlic paste (or minced ginger and garlic). Then add the spice powders (garam masala, turmeric, red chili powder).
Add the chicken that has been marinating in the yogurt.
Mix well and ensure that the level of liquid in the pot is such that the chicken is covered in the liquid (less liquid and thick liquids such as tomato purees can cause the 'Food Burn' notice to be triggered)
Put on the lid of the IP, pressure cook in 'Pressure Cook' (some models of IP will have the Manual mode) for 5 minutes. Once the cooking cycle is complete, the IP defaults to 'Keep Warm' mode. Let this stay in Keep Warm mode for 5 minutes more (the pressure releases naturally) and then manually release pressure.-.
Once all steam has released, open the lid of the IP, and switch to 'Saute' mode.
Add the cashew paste and chopped coriander or cilantro.
Stir well, and let the curry simmer for 5-6 minutes until chicken is cooked and the liquid in the cury has reduced.
Garnish with chopped coriander leaves and serve with rice or naan.