He’s being evicted…from the street!

The city’s homeless crisis has gotten so out of hand that officials are handing out formal “eviction” notices to people who hunker down and sprawl out in some spots for too long, The Post has learned.

One-legged vagrant Thomas Harris, who’s been living rent-free outside a Brooklyn subway station, is scheduled to get the boot on Wednesday, according to flyers taped around his makeshift hovel of shopping carts and plastic sheeting.

The notices, which went up on Friday, say city workers — accompanied by police — will clean up the plaza at Parkside and Ocean avenues where he’s camped out.

“As of the date of the clean up, you must leave this location along with your belongings,” the flyers warn in bold letters.

Harris, who hadn’t relocated as of late Tuesday afternoon, said the city would have to force him out.

“I’m not being evicted, I’m being persecuted!” he griped.

“My s–t will be ready to roll, but I’m staying for the fight!”

The 61-year-old father of 10 also said he was previously ”evicted” from a nearby spot last year, when “they took my s- -t and put me in the crazy house.”

“It took me a while but I got this back together. They want to do this every time it gets cold? Whatever! I got the right to be here,” he insisted.

Harris — who lost most of his left leg when he was hit by a subway in 2012 — described himself as an “Israelite soldier” and said he’d been voluntarily homeless for decades for religious reasons.

Shortly after noon, three cops from the NYPD’s Homeless Outreach Unit spent about an hour making a last-ditch effort to cajole him off the street.

But Harris — who’s known to locals as the “Drum Man” because of the instruments he peddles — told The Post there was no way he’d go to a shelter.

“They have places where everybody is a crackhead and a dope fiend. And they throw you out at 6 in the morning,” he said.

“You call this a shelter? That’s not a shelter.”

Chris Gonzalez, who works at the Atomic Wings eatery across the street, said he gave Harris free food “a few times a week” — and blamed Mayor Bill de Blasio for the man’s predicament.

“De Blasio’s plan ain’t working! I look at this mountain of garbage every day for the last two months,” said Gonzalez, 22.

“He’s crazy. He won’t go. Even if they make him go, he’ll come back.”

Nikita Price, civil rights organizer for the Picture the Homeless advocacy group, called the eviction notices “an under-handed policy.”

“We have seen the notices before,” he said.

“The language changes, the city is adapting the policy — but it is still an eviction notice.”

City Homeless Services spokesman Isaac McGinn said, “We don’t allow obstructions in our city and address them quickly whenever we find them.”

“We provide notice to street homeless … ahead of coordinated clean-ups to preserve the trust our outreach teams build with them every day [and] encourage them to come off the streets.”

Additional reporting by Yoav Gonen