Prepare cake mix according to package directions add in the dry pistachio pudding mix.
Bake according to package directions.
Check with toothpick to come out almost clean, don't over bake.
Beat butter with sugar, flavor and cream until smooth.
Pipe on cupcakes with a #809 tip.
Rim edge of cupcakes with chopped pistachios.