Which version runs for Revit 23?

I have had to do some serious system fixing over the past week and my PyRevit which was running fine in Revit 23 was removed. I downloaded the latest, installed and got a screen full of errors. So I uninstalled and went to an earlier version - hoping it would be happier - to no avail.
the two versions I have tried are: and
neither are installing
What are the steps to download and install PyRevit to get it back working in my Revit 23?

The second topic in this page should do the trick.

Most probably a loading sequence issue with other addins