Some Brooklyn commuters are going from trains to bikes to get ready for next years L train shutdown. 

The Department of Transportation and the UN-Habitat Program hosted a "bike train" on the Williamsburg Bridge Wednesday.

It's part of an effort to encourage subway riders to use alternate modes of transportation when the "L" stops running in April next year.

"New York City really does set a global example for the best way to do infrastructure for people who are walking and cycling," said Michael King of the National Association of City Transportation Officials. 

"We hope to work more with the United Nations, with UN habitat and with other stakeholders to help other cities around the world learn from these best practices," said Michael Replogle, deputy of commissioner for policy at the Department of Transportation. 

The "L" will still run from Canarsie to Williamsburg.

The closure is expected to last 15 months while the MTA makes repairs to damage caused by Hurricane Sandy.