The duration of a roof installation or replacement can vary depending on factors such as the size of the roof, weather conditions, and the complexity of the project, but it usually takes anywhere from a few days to a couple of weeks to complete.