After you file

You would have to install the TurboTax software for the prior tax years. 

 

The TurboTax tax data files for the prior tax years, which have a file extension of .taxyyyy, where yyyy is the tax year would also have to copied to the Documents folder on the new PC, eg .tax2021 for tax year 2021.

The tax data files can be located in the Documents directory and the TurboTax folder from the old PC or where you saved the files as a backup.

See this TurboTax support FAQ for moving tax data files to a new computer - https://ttlc.intuit.com/turbotax-support/en-us/help-article/data-systems/move-tax-data-file-another-...