HOUSTON — Right calf tightness forced designated hitter Giancarlo Stanton to leave during the sixth inning of the New York Yankees’ 12-4 win over the Houston Astros on Friday night, manager Aaron Boone said.

Boone said it was “too early” for him to be concerned about Stanton, who has a history of lower-body injuries and has mostly avoided running at full speed on the bases in recent years.

“Hopefully we got ahead of anything serious,” Boone said, “but we’ll just see where he’s at tomorrow.”

The Yankees hadn’t decided whether Stanton would go for tests, Boone said.

Boone and a team trainer visited Stanton on third base after he jogged slowly on J.C. Escarra’s line-drive single off the wall in left field during the sixth inning. Then Stanton walked off the field, and the Yankees replaced him with Randal Grichuk.

Stanton went into the dugout and then immediately went down the steps into the clubhouse.

Stanton began feeling tightness when he was on second base following a walk to Jazz Chisholm Jr. walk and “didn’t want to push it,” Boone said.

Before leaving the game, Stanton singled on a grounder up the middle to drive home Ben Rice from second base and give the Yankees a 6-1 lead. Then he moved to second base on Chisholm’s walk. But he watched Escarra’s liner to see if left fielder Dustin Harris would snag it. When it clanged off the wall, Stanton trotted gingerly into third base.

Chisholm was upbeat about Stanton’s status.

“I think he’s going to be good,” Chisholm said. “He just, I think, got a little tight and you don’t want to risk it with that guy. He hits 30 home runs in 60 to 70 games in a year (on average). So we need that bat in our lineup, and I think he’s going to be great.”

Losing Stanton for any amount of time would be a major blow to the Yankees, who went through spring training and nearly all of April without an injury. They were looking forward to getting Gerrit Cole, Carlos Rodón and Anthony Volpe back from the injured list soon and trotting out the most complete roster they have had in a long time.

“We need him in the lineup,” starting pitcher Will Warren said. “Hopefully it’s nothing serious.”

Stanton has three home runs with 14 RBIs, and he’s hitting .256 with a .724 OPS. The Yankees were thrilled that he started spring training on time and didn’t face any trouble from the double tennis elbows that sidelined him for nearly half the season last year.

If Stanton misses time, Rice could slide to designated hitter and Paul Goldschmidt could see more time at first base. Grichuk could also see time at DH.

The Yankees could also promote Jasson Domínguez if Stanton needs to go on the injured list. Domínguez is hitting .306 with three home runs, 13 RBIs and a .875 OPS at Triple-A Scranton/Wilkes-Barre. The switch-hitter is better from the left side, and the Yankees are expected to face a slate of right-handed starting pitchers over the next several games. Top outfield prospect Spencer Jones could also be an option.