It is pretty bike-friendly around the campus and beyond. Carrboro is especially bike-sympatico. Also check out The Clean Machine (
www.thecleanmachine.com 104 W Main St, Carrboro - (919) 967-5104).
A good bit of the Triangle is developments with arteries to highways, and not all that great for commuting. That being said, there are "greenways" (do a search) and pretty vibrant commuter advocacy groups in Raleigh and Durham (can't speak for CH on that one).