How to enter capital improvements into Turbo Tax for primary home sale

We sold our primary house in 2023 that we had as a rental property for the last 3 years.  We qualify for the rule that we lived in it 2 of 5 years, however, we can't figure out where to add the capital improvements we made to the house over the 20 years that we owned the house in Turbo Tax.  How do we functionally get that data into Turbo Tax.  We might be wrong, but our understanding is that it will help with the government recouping the depreciation.  Thanks.