Heat ghee in a non-stick pan. Grease an aluminium tray. Add gram flour to the pan and sauté on medium heat, stirring continuously, till fragrant and browned.
Switch off the heat. Add sugar and stir well till it dissolves and blends with the gram flour.Add green cardamom powder and mix well.
Transfer the mixture into the greased tray and spread evenly. Level the surface. Sprinkle almonds and pistachios and set aside to cool and set well.
Cut into squares or diamonds or rectangles and separate them. Serve or store in airtight container.