macOS Error: `brew cask` is no longer a `brew` commandの解決方法

環境

macOS

エラーメッセージ

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
% brew cask install the-unarchiver
% brew cask install the-unarchiver
% brew cask install the-unarchiver

Error: `brew cask` is no longer a `brew` command. Use `brew <command> –cask` instead.

解決方法

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
% brew install the-unarchiver --cask
% brew install the-unarchiver --cask
 % brew install the-unarchiver --cask

書式

旧) $ brew cask install xxx

新) $ brew install xxx –cask

IT

Posted by arkgame