Sign up for our special edition newsletter to get a daily update on the coronavirus pandemic.

Gov. Andrew Cuomo on Wednesday mandated that New Yorkers wear masks or other face coverings in people-packed public areas — nearly two weeks after questioning Mayor Bill de Blasio for advising the coronavirus precaution.

“If you’re going to be in public and you cannot maintain social distancing, then have a mask,” Cuomo said in announcing the executive order during an Albany press briefing. “[It’s] your right to go out for a walk in the park … You don’t have a right to infect me.”

The governor specified public transportation or crowded neighborhoods as examples of places where people “must wear a mask or cloth or an attractive bandanna or a color-coordinated bandanna.”

New Yorkers will have a “three-day notice” before the order is enforced, Cuomo said, admitting that there wouldn’t immediately be any penalty for noncompliance, though civil violations could eventually be issued.

“By the way, people will enforce it,” he said. “They’ll say to you, if they’re standing next to you on a street corner, ‘Where’s your mask, buddy?’ in a nice, New York kind of way.”

The statewide order was handed down hours after de Blasio called on grocery stores in the five boroughs to require that shoppers cover their mouths and noses — and nearly two weeks after Hizzoner on April 2 advised all city residents to cover up outside.

At the time, Albany was dismissive of the advice, with state Health Commissioner Dr. Howard Zucker saying there was “no clear evidence” that it would make a difference, and Cuomo saying it might do little more than offer “a false sense of security.”

The lag marks the latest disconnect between Cuomo and de Blasio amid the coronavirus crisis, with the pair diverging on schools and on playgrounds, among other issues.