Troubleshooting: Update auf OS-X Catalina - Homebrew Warnungen und Fehler

Zuletzt aktualisiert am 17. Januar 2024 1 Minute

Nach Update auf OS-X Catalina gab es ein paar Warnungen:

Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so:
  echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.bash_profile

Warning: Your Xcode is configured with an invalid path.
You should change it to the correct path:
  sudo xcode-select -switch /Applications/Xcode.app

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.

Also hab ich im Terminal mal alles nacheinander ausgeführt:

echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.bash_profile
sudo xcode-select -switch /Applications/Xcode.app
chsh -s /bin/zsh