The city is planning to install more than 30 miles of protected bike lanes this year, Mayor Bill de Blasio announced Tuesday.

The mayor made the announcement after taking a Citi Bike ride from Gracie Mansion to City Hall.

Last year, the city added nearly 29 miles of protected bike lanes in an effort to make biking easier and safer.

De Blasio also announced the locations of the city's first bike boulevards - streets where vehicular traffic will be discouraged to make it safer for cyclists.

The boulevards will be located at 21st Street in Brooklyn, University Place in Manhattan, 39th Street in Queens, Jackson Avenue in the Bronx and Netherland Avenue on Staten Island.

"They're gonna come with a variety of measures to make it a safe environment for bicyclists and connect key bike lanes to each other,” the mayor said. “This is all about creating a cyclist-friendly, pedestrian-friendly environment, making it easier for folks to get around from one part of the city to the other."

The bike boulevards are expected to be completed by the end of the year.