% brew --cask install docker
Error: Unknown command: --cask
If you are trying to install a package/software using the brew cask command and you get the error "Unknown command: --cask" then you have not used the command properly.
The correct syntax is,
brew install --cask <formula>
and not,
brew --cask install <formula>

Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!