August 1, 2020 | 10:33am

Tekashi 6ix9ine is being sprung — sort of.

The controversial rapper-turned-convicted felon was officially freed from home confinement Saturday and a federal probation officer was set to go to his home and remove his ankle monitor, according to his lawyer. All hip-hop’s top snitch has to do now is stay alive, considering that his enemies are out there and could exact revenge.

“I spoke to him yesterday and he’s feeling pretty good,” his attorney Lance Lazzaro told the Post Saturday. “He’s looking forward to his future.”

Tekashi was let out of prison early on April 17 because of the coronavirus concerns but was reckless with his living arrangements. He had to move to another residence when a neighbor leaked the address of his first hideout post-jail, a rental in Lido Beach, Long Island, after Tekashi posted a photo of himself outside flashing fistfuls of cash.

Lazzaro said that 6ix9ine — real name Daniel Hernandez — will be able to leave his house and work, although he will still have to check in with a probation officer during his five years of supervised release. Lazzaro said that means he has to seek permission if he wants to travel out of state or out of the country. He also has to perform 300 hours of community service.

But Tekashi, 24, and his team have worried that the rapper’s past — and his ­enemies — could catch up with him. He rejected an offer to go into witness protection and will rely on expensive private security. Tekashi went dark on most of his social media platforms last month “out of precaution,” Lazzaro said Saturday. The rapper didn’t want any details from his feed to be available as he was about to be released from home confinement.

“His Instagram should be back within seven days,” Lazzaro said.

Tekashi was sentenced to 24 months in prison with five years supervised release last December after pleading guilty to racketeering conspiracy and eight other charges. He had previously spent 13 months in custody. He had faced 47 years in prison after admitting to joining the Nine Trey Bloods gang to help his career — and contributing to them financially. He got his reduced sentence after deciding to cooperate with prosecutors. He outlined the inner workings of the gang in riveting detail during a trial last fall that sent many of the gang members to prison.