Alvarez hit his 20th home run with one out in the second inning to extend his hitting streak to 12 games and help the Pirates to their longest winning streak since 2004. Pittsburgh (50-30), which has endured 20 consecutive losing seasons, has the best record in the major leagues.
Jones hit his seventh of the season to lead off the fourth inning and increase the Pirates' lead to 2-0.
That was enough for Liriano (7-3), who improved to 4-1 in five home starts. He gave up one run and seven hits in six innings with one walk and six strikeouts. Jason Grilli earned his 27th save in 28 opportunities.
Donovan Hand (0-1) allowed both home runs in a solid five-inning performance in his second major league start.
DODGERS 4, PHILLIES 3
LOS ANGELES (AP) — A.J. Ellis hit an RBI single in the ninth inning, Hanley Ramirez hit a tape-measure, three-run homer in the first against Cliff Lee and Los Angeles beat Philadelphia.
The Phillies' Chase Utley homered in his first two career at-bats against Hyun-Jin Ryu. But the Dodgers won for the seventh in eight games, bouncing back from a 16-1 loss Friday that was the franchise's most lopsided at home since a 19-2 rout by the New York Giants on July 3, 1947 — during Jackie Robinson's rookie season.
Ramirez led off the ninth against rookie Justin De Fratus (2-3) with a single before Matt Kemp took a called third strike. De Fratus walked Andre Ethier before Ellis lined a 2-2 pitch to right, scoring Ramirez.
Kenley Jansen (2-3) got the win.