Pressure cook the grated carrots until 2 whistles.
Heat ghee in a kadhai and add the cooked carrots and saute till the mix gets dry and raw smell leaves from carrots.
Now add sugar and khaya and cook tikk it gets thickens. Stir continuously.
Add green cardamom powder and mix well
Transfer the mixture into a greased tray and flatten it equally. Garnish with the sliced pistachios
Let it set for sometime in the refrigeratoe and cut into squares or diamonds
Carrot barfi is ready to serve.