I just went through this! Install "Xcode 14 beta 3" from here: https://download.developer.apple.com/Developer_Tools/Xcode_14_beta_3/Xcode_14_beta_3.xip and "Command Line Tools for Xcode 14 beta 3.dmg" from here: https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_14_beta_3/Command_Line_Tools_for_Xcode_14_beta_3.dmg
Install Xcode 14 and then remove Xcode 13 with App Cleaner. After removing Xcode 13 drag Xcode 14 to application folder so it shows up in app drawer. Good luck!