How do I change the default file manager from the terminal?

I have Dolphin, Nemo, and PCManFM installed. How do I change the default file manager from Thunbar to Dolphin from the terminal and not using a GUI?

1 Like