Warning indicate that it is the directory where the binaries or homebrew are put, so you have to add homebrew path to ~/.zshrc OR ~/.bashrc