One homeless man shot and killed another early Saturday near Bryant Park, police sources said.

Terrance Walker, 27, was gunned down at about 2:20 a.m. at the busy corner of West 40th Street and Sixth Avenue in Midtown.

Walker and another man argued as they left a nearby subway station, police said.

It was unclear late Saturday why the men feuded. But near the park, one man’s fury reached the boiling point.

He pulled a .38-caliber handgun and fired four shots. One bullet struck Walker in the chest. He collapsed to the pavement.

Walker was declared dead at the scene. His attacker was last seen fleeing west on West 40th Street.

The gunman was still on the lam late Saturday. He is described as 6 feet tall and about 190 pounds, and was wearing a black leather jacket over a blue hoodie.

Police are confident security cameras will give them a glimpse of the suspect.

“You’re by Bryant Park. Everything is on video. You’re gonna get caught,” a police source said.

Saturday afternoon, as the park brimmed with shoppers perusing the annual Winter Village pop-up shops, some visitors were shocked a fatal shooting occurred just across the street.

“It’s unbelievable,” said Sheila Irani, 54, in town from Los Angeles. “They’re cold, angry, frustrated and they took it out on one another. It’s a shame.”