LoginSignup
1

More than 3 years have passed since last update.

caskの使い方が変わった

Posted at

事の発端

Macにフォントを入れようとしてcaskを使ったところエラーを吐かれた。

$ brew cask install font-fira-code
Error: Unknown command: cask

原因と対処

以前はこれでイケたのになぜだろうと思い調べるとbrewのとあるバージョンから使えなくなり、記法が変わっているらしい。

$ brew install font-fira-code --cask

上記の書き方でインストール成功。

参考文献

Calling brew cask install is disabled! Use brew install [--cask] instead.
いつの間にかbrew caskが使用できなくなっていた話

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
1