How to move software from disk X to disk Y?

Let’s say I have two SDD: X and Y
Now suppose I want to move “Steam” from X to Y, possibly without uninstalling it and reinstalling from scratch.
How do I do that?

If you want to use the GUI, just drag and drop. On dolphin for example I’m prompted to “Copy” or “Move”.

From a terminal you can use mv:

mv /path/to/src /path/to/target

Within steam you may need to point it your new game directory. I don’t use it myself.

okay I feel like an idiot xD for some reason, I was thinking about complicated ways to get the result, and completely ignored the most obvious way which was to just move the directory and modify the pointer xD

well thanks a lot