Skip to content

Latest commit

 

History

History
13 lines (6 loc) · 740 Bytes

error_unknown_command_cask.md

File metadata and controls

13 lines (6 loc) · 740 Bytes

Go back

Error: Unknown command: cask error

If you run into Error: Unknown command: cask while trying to use any brew cask command, please run the below command to fix things:

cd $(brew --repo); git fetch; git reset --hard origin/master; brew update

Do not open an issue.

(Technical details: Homebrew Cask's core code has been moved to Homebrew. brew had a bug where it would erroneously report as always being Already up-to-date. This combination made it impossible for Homebrew to find the moved Cask code.)