When I install watchman using brew install watchman
, it got this Error: You must brew link pcre before watchman can be installed
. So I try brew link pcre
and brew link --overwrite pcre
, I just got
linking /usr/local/Cellar/pcre/8.36...
Error: Could not symlink share/man/man3/pcre.3
/usr/local/share/man/man3 is not writable.
Can anyone help?
first
then
then
it should work
By design Homebrew (brew) requires the contents of
/usr/local
to be owned by you. You can fix it easily by running:from your Terminal.
See here for further explanation.