When I enter brew doctor
(or any brew
command) in my terminal, I get this as a response:
-bash: /usr/local/bin/brew: /bin/sh^M: bad interpreter: No such file or directory
I have seen the ^M
response before and I think it has to do with dos line ending files. Is there a way to fix this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…