5
3

More than 3 years have passed since last update.

Error: caskroom/cask was moved. Tap homebrew/cask instead.となった時の対応方法

Posted at
  • 環境
    • macOS Catalina バージョン10.15.6
    • Homebrew 2.5.2

事象 : Homebrew Caskをインストールしようとしたら怒られた

% brew tap caskroom/cask
Error: caskroom/cask was moved. Tap homebrew/cask instead.

原因 : Homebrewに含まれるようになったから

今はもう何もしなくてもcaskは使えるということ。

# 試しにインストール対象を指定しないで打ってみた
% brew cask
==> Tapping homebrew/cask
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'...
# ...省略...クローンだけしてサブコマンド(installとか)がないって怒られた
Error: Invalid usage: No subcommand given.

# caskのバージョンは表示されるようになった
% brew -v                  
Homebrew 2.5.2
Homebrew/homebrew-core (git revision 2aea6b; last commit 2020-09-22)
Homebrew/homebrew-cask (git revision 7b828; last commit 2020-09-22)

対応 : 見なかったことにして何もしない

5
3
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
5
3