Can I keep two SDODS installs on one machine without them fighting?
Asked 3,640 views1 answer
15votes
I need to reproduce a run from a while back against the build the team was standardised on then, while keeping my normal install for day-to-day work. Is that supported or am I going to have to uninstall and reinstall each time?
Supported. --dir and --bin-dir keep two installs completely apart, and --version takes any git ref, so the second one can track a branch or a tag independently:
bash
curl -fsSL https://sdods.com/install.sh | sh -s -- \
--version main --dir ~/.sdods-main --bin-dir ~/.local/bin/sdods-main
Two things to keep straight:
Re-running the same command upgrades that install in place. It is not additive, so a second install has to differ in --dir and --bin-dir or you are just replacing the first one.
Uninstall is scoped to the root you point it at, so pass the same --dir when you remove one. It refuses paths like $HOME or / outright, but it will happily remove the wrong SDODS root if you name the wrong one.
The browser cache is still shared between them, which is what you want — the engines are not the thing that differs.