The 51s defeated the Chihuahuas, 7-5, to snap their six-game losing streak in game two of the brief four-game homestand before a crowd of 3,004 at Cashman Field.
Las Vegas, trailing 5-2, rallied for three runs in the sixth inning and two runs in the eighth.
51s shortstop Amed Rosario (1-for-5) broke the 5-5 tie in the eighth inning with a RBI single to extend his hitting streak to 15 games.
Center fielder Brandon Nimmo was 4-for-5, three doubles, RBI, two runs scored; first baseman Dominic Smith was 4-for-5, 3 RBI and third baseman Phillip Evans was 3-for-4, double, RBI, two runs scored.
Las Vegas left-hander Steven Matz, making his second ML rehab assignment start for the 51s, pitched 5 shutout innings. He retired all 15 batters he faced and struck out 8 on 73 pitches (50 strikes).
Right-hander Hansel Robles pitched a scoreless ninth inning to record the save.
Game three of the series is Memorial Day (night) at 7:05 p.m.