How long until baby switched to a crib?

My bf is thinking about buying a crib but I told him she won’t need it for awhile she’ll be sleeping in the bassinet. We live in an apt and I kind of don’t want to get one until she’s a little older or we get a house in a few months. When did your baby switch to a crib??