LoginSignup
0
0

More than 5 years have passed since last update.

Homebrew caskの場所変更

Last updated at Posted at 2016-09-16

Homebrew caskの場所変更

Homebrewをインストールしなおしたので、torchを入れ直そうとしたら場所変わったから直
してって言われた。

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.

どうやらこれ一発でいけるようなのがissuesに書いてある。

brew cask install --force $(brew cask list)

消し忘れていたため、同じのが出てしまった。
CASKで入れたのは新しい場所にインストールされてるので、消しましょう。(確認して下しあ)

rm -rf /opt/homebrew-cask/Caskroom

結論

できた。

参考

How to migrate to the new location? · Issue #21913 · caskroom/homebrew-cask · GitHub
https://github.com/caskroom/homebrew-cask/issues/21913

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0