Error: Cowardly refusing to `sudo brew link`
1 2 3 4 5 | $ sudo brew link node Error: Cowardly refusing to ` sudo brew link` You can use brew with sudo , but only if the brew executable is owned by root. However, this is both not recommended and completely unsupported so do so at your own risk. |
解决办法
1 | $ sudo chown -R root /usr/local |