Peel your carrots and then using a grater, grate the carrots.
Place your flour, grated carrot, all seasoning, and sugars into a bowl and mix with a fork.
Make a well in the centre and crack in your eggs.
Add your oil and then mix well with a hand mixer.
Gradually add in the milk making sure the carrot batter is not too thick.
Pour the carrot cake batter into your silicone and place the silicone into the air fryer basket. Air fry for 15 minutes at 180c/360f, then reduce the temperature to 170c/340f and cook for a further 26 minutes or until a cocktail stick comes out clean.
Allow to cool and then whilst it is cooling make your cream cheese frosting. Start by adding the icing sugar and the butter into a bowl and mixing with your hand mixer. Then add in the other ingredients and then mix again.
Once the cake is cool, using a bread knife chop the top off the cake to make it level.
Then spoon on the frosting. Use the back of your spoon to level the frosting over the top of the carrot cake.
Fridge for an hour to completely cool before slicing into 8 equal parts.