NBA

Knicks sign World Peace to two-year deal

NEW YORK GROOVE: Metta World Peace is on his way home after agreeing to sign with the Knicks yesterday, and sent out a tweet (inset) to celebrate. (Reuters)

LAS VEGAS — Metta World Peace wanted the challenge next season of breaking a 41-year championship drought, wanted the Big Apple, wanted to retire a Knick.

The former Ron Artest is coming home.

World Peace agreed to become a Knick yesterday in Las Vegas, agreeing to terms on a two-year deal. It’s the first free-agent signing of the Knicks’ summer and a difficult one, considering their salary cap woes. However, the move was tempered later in the day when the Knicks announced J.R. Smith underwent left-knee surgery and could miss all of preseason and the first two weeks of the regular season.

“I want to do something hard,’’ World Peace said at UNLV’s Cox Pavilion during the Knicks summer-league clash. “That’s the challenge of being challenged. New York is the hardest place to win. It’s been since ’72-’73 [they won a title]. Why not take on something that’s hard?’’

After meeting with Knicks coach Mike Woodson, general manager Glen Grunwald and assistant GM Allan Houston at the team’s hotel yesterday morning, the pride of Queensbridge arrived at UNLV to tell the world he’s on his way back to New York.

World Peace said China and the Arena Football League were indeed options, but he couldn’t pass up returning to the Big Apple.

World Peace said playing in China would have been “inspirational,’’ then added, “But you get to the orange and blue. The orange and blue blood. You got to come back home.’’

Magic Johnson, who has a minority stake in the Lakers — who amnestied World Peace on Friday — tweeted the highest praise.

“Whatever team Metta World Peace ends up on will become a championship-caliber team,’’ Johnson wrote.

World Peace will sign a contract starting at the $1.65 million left on the Knicks’ mini mid-level exception, with a player option for a second year. World Peace could start at small forward, playing alongside Carmelo Anthony, who would stay at power forward.

“I don’t care if I’m starting or sweeping the floors,’’ World Peace said. “I just want to win.

The move may reek of desperation, but the Knicks had to do something, considering the loss of Smith for an extended period and the Nets and Pacers having big-time summers. The acquisition of Andrea Bargnani was not going to be enough.

World Peace is 33, but doesn’t believe he’s that much past his prime. He still can defend the perimeter and hit the 3-pointer, even if he has been streaky across his career.

“Prime is just another word,’’ he said. “Heart is what it really is.’’

According to an NBA scout who worked with World Peace in another organization, he should be a good basketball fit. The former Defensive Player of the Year has a lost a little foot speed in guarding off the dribble, but still brings all-out toughness, the scout said. In a Pacers series, the scout said he, rather than Anthony, could be the one to bang with David West.

World Peace can’t wait.

“It’s all about the players,’’ he said. “I’m excited to play for them, excited to hustle for [Raymond] Felton, Iman [Shumpert], Melo, [Amar’e] Stoudemire. It’s not only about New York City.’’

He even forgave the Knicks for not drafting him in 1999, when they chose Frederic Weis instead.

“They were 100 percent right,’’ World Peace said. “I’m glad I didn’t go there then because I couldn’t have finished my career in New York, and now I’m bringing that championship experience (with the Lakers in 2010) to the Garden.’’

Asked why he may have struggled in New York as a rookie out of St. John’s, he said: “As a young kid growing up, whether it be from Brooklyn or Far Rock, you go from nothing to making a million dollars a year. So when people are saying, ‘You’re the best, you’re this, you’re that,’’ you believe that and you get in trouble. That’s what happens. A young kid raised in a [a] dysfunctional environment and neighborhood. It takes 10 years to improve.’’

Agent Marc Cornstein said the Knicks’ presentation to World Peace was overwhelming.

“He’s a great fit for this team,’’ Cornstein said. “There was mutual interest right from the beginning. He wanted to go home. It was an incredibly strong interest. Coach Woodson, Glen, Allan did an unbelievable job, making him feel wanted, let him know what his role would be. He’s incredibly excited.”

World Peace wore No. 15 with the Lakers and at St. John’s. That would have been his preference, but the Knicks have retired the number twice, in honor of Earl Monroe and Dick McGuire.

“Fifteen is gone,’’ World Peace said. “I’ll have to pick another number. Those guys are legends and amazing players. [I have] decisions.’’

marc.berman@nypost.com