Now trying to think though a use case in my head where you are doing the move command on for example windows, and your linux setup uses an environment variable, but this variable does not exist on windows for some reason. Which made me think -- are we really doing the right thing here?

Someone is moving the core, and they have a PC where they are referring to that core via an environment variable. Now we are trying to replace that environment variable with a new absolute path to the new location of the core. I think what might be better is to just display a message asking the user to update their environment variable themselves! 

So if they run the move studio command it would say something along the lines of:

Your pipeline configiuration "manne_dev" is pointing to the core API using the environment variable $MANNE_CORE_LOCATION on Linux. Please make sure to update this environment variable so that it points to the new studio location, '/my/new/studio/location'.

Something like that! What do you think?