CLI Booting 2024 when it should be 2023

Hi all, I have been using the CLI to run scrips for nearly two years now without a problem. I recently received some 2024 Revit files (all my other projects are older). So I installed 2024 and figured I would update pyRevit at the same time (see below for the installed version).

When I run my processes “pyrevit run “Tool Path” “File Path” --revit==2023 --purge” it boots Revit 2024. I have tested on 2021 and 2022 and they boot the correct version.

pyRevit: Installer
CLI Installer

2018, 2021, 2022, 2023, 2024
If you need the version let me know and I will get them

If I open 2023 and manually run it everything works fine.

I posted a bug on git as well.


I also just tried the second from the latest installer and I am getting the same result.
pyRevit Installer

Revit is also installed on a secondary drive (not my c: drive) I am not sure if this could be messing with anything.