MacOS 10.12 /usr/local 不可写
change the ownership and permissions of /usr/local back to your user account:
$ sudo chown -R $(whoami) /usr/local
change the ownership and permissions of /usr/local back to your user account:
$ sudo chown -R $(whoami) /usr/local