homebrew uninstall/move macports UNDO [closed]

2019-08-29 09:26发布

问题:

brew doctor told me to move macports: sudo mv /opt/local ~/macports

So I did that and now nothing works properly. What would be the command to move macports back to where it was?

回答1:

I think you mean:

sudo mv ~/macports /opt/local

mv is a standard unix shell command to move files and directories.