Democratic gubernatorial hopeful Cynthia Nixon said Friday she would make New York 100 percent reliant on renewable energy by 2050.

“It’s time to treat the Earth as our shared home where no one will worry that their air, water, or land is being polluted by poison dug up from the ground,” the former “Sex and the City” star said during a speech about environmental policy at the Rockaway YMCA in Queens.

The Cuomo campaign said “the governor has led the nation in combating climate change” by banning fracking and implementing rigorous clean-energy standards.