Rinse pumpkin and cut to two.
Peel the skin and grate it or steam cook the entire pumpkin until soft.
Add ghee or coconut oil to a hot pan and fry the nuts till golden. Keep them side.
To the same pan, add grated pumpkin or cooked pumpkin (refer image step by step one). Fry for about 4 to 5 minutes till the raw smell goes off.
Pour the milk if using and add cardamom powder. Cook until the milk is absorbed.
Add sugar and cook till the sugar melts and the halwa thickens.
Add fried cashews and garnish. Serve pumpkin halwa hot or warm.