How to fully replace Caja with Nemo by use of terminal command line?

How to fully replace Caja File manager with Nemo by use of terminal commands or script of them ?

You can look here and here on this forum that might give you some info…

You can change the default file manager from preferred applications, but Caja is integrated with MATE desktop, so you won’t be able to completely replace it…