Francisco Lindor, Jose Iglesias and J.D. Martinez doubled in succession to begin the game before Pete Alonso blasted a two-run homer.

“I was just sitting there in the dugout and watching those guys do their thing and it’s always fun,” Peterson said. “Pitching with a lead like that makes my job easier. I just go out there and throw strikes.”

Luis Torrens started behind the plate for the second time in three games.

A night earlier, Francisco Alvarez appeared to pull up as he approached third base on his leadoff triple in the ninth inning.

Mendoza checked with Alvarez after the game and again Thursday morning and was satisfied there wasn’t a physical issue but decided to give him the day off.

Peterson didn’t receive much resistance until the fifth, when the Rockies loaded the bases against him.

But a potentially messy inning was kept in check as Peterson limited the Rockies to only Brenton Doyle’s sacrifice fly.

David Peterson had attended many games at Coors Field growing up but had never received the opportunity to pitch here.

The Aurora, Colo., native finally got his chance Thursday and gave the Mets five solid innings in their 9-1 victory over the Rockies.

“It was fun to finally do it,” Peterson said. “Always good to have family and friends in the stands.”