Pinch hitter Lou Piniella singled home Dave Winfield from second with one out in the bottom of the ninth in New York last night to give the Yankees, who had lost five of their last six, a 6-5 victory over the Cleveland Indians.

Winfield led off against reliever Dan Spillner (1-5) with a double to left and Graig Nettles was walked intentionally. One out later, Piniella, batting for Steve Kemp, greeted reliever Neil Heaton with a ground ball to left.

Rich Gossage (3-2), who recorded the last out in the top of the ninth, got the victory.

The Indians scored twice that inning to tie at 5. Manny Trillo led off with a single and Rudy May relieved starter Jay Howell. Two outs later, Ron Hassey singled and pinch hitter Alan Bannister doubled off the wall in left to score both runners.

In the Yankees' first, Winfield hit a homer 440 feet to left-center with two out and Nettles followed with his eighth homer this year and fourth in the last six games. Winfield's homer, his 12th, was only the seventh hit into the home bullpen since 1976, when renovated Yankee Stadium reopened.

It was announced that Doyle Alexander, designated for assignment by the Yankees May 31, has cleared waivers and has been released.

Alexander, 32, was 0-2 after going 1-7 with the Yankees in 1982. His contract, guaranteed through the 1984 season, pays $550,000 a year.