01 - Preheat oven to 350°F. Grease and line an 8-inch round cake pan with parchment paper.
02 - Beat softened butter and granulated sugar together in a large bowl until light, pale, and fluffy, approximately 3-4 minutes.
03 - Add eggs one at a time, beating thoroughly after each addition. Mix in vanilla extract until fully incorporated.
04 - In a separate bowl, whisk together ground pistachios, flour, baking powder, and salt until evenly distributed.
05 - Add dry ingredients to butter mixture in three additions, alternating with milk in two additions. Begin and end with dry ingredients. Mix until just combined—do not overmix.
06 - Gently fold fresh raspberries into the batter using a spatula, taking care to avoid crushing the berries.
07 - Transfer batter to prepared pan, smoothing the top with an offset spatula. Bake for 35-40 minutes until a wooden skewer inserted into the center emerges clean.
08 - Allow cake to rest in the pan for 10 minutes before removing. Transfer to a wire rack and cool completely before frosting.
09 - Beat cream cheese and butter until smooth and creamy. Add powdered sugar, ground pistachios, and vanilla extract. Continue mixing until fluffy and well combined.
10 - Spread pistachio cream cheese frosting evenly over the completely cooled cake. Garnish with additional fresh raspberries and chopped pistachios as desired.