您的位置:首页 > 产品设计 > UI/UE

[Mac] 记录解决Homebrew-cask Issue #21913过程

2017-01-17 13:17 375 查看

错误描述

 ~/Desktop  brew cask list

Warning: The default Caskroom location has moved to /usr/local/Caskroom.

Please migrate your Casks to the new location and delete /opt/homebrew-cask/Caskroom,

or if you would like to keep your Caskroom at /opt/homebrew-cask/Caskroom, add the

following to your HOMEBREW_CASK_OPTS:

–caskroom=/opt/homebrew-cask/Caskroom

For more details on each of those options, see https://github.com/caskroom/homebrew-cask/issues/21913.

环境

当前系统:macOS Sierra v 10.12.1

Homebrew:1.1.7

解决过程

> brew update
> mv /opt/homebrew-cask/Caskroom /usr/local
> sudo rm -rf /opt/homebrew-cask
> brew cask reinstall --force $(brew cask list)


参考

https://github.com/caskroom/homebrew-cask/issues/21913
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Homebrew Mac
相关文章推荐