Reputation: 211
I am not able to do anything anymore. I keep getting the error Error: Unknown command: cask
even though I have previously used a lot of different installations from this link: Homebrew cask option not recognized?
NONE OF THEM HELPED!
For example I get this output:
After the instance I want to apply this command: brew cask install cscreen
to then go to cscreen -l
. However, I keep getting the above error...
Please help. I want to use this because without it I am not able to work on a closed MacBook because when I close the monitor it goes back to the dreaded setting of 75Hz.
Regards!
Upvotes: 20
Views: 12678
Reputation: 2894
Run your brew command without "cask".
Example:
Instead of brew cask install graphql-playground
try brew install graphql-playground
Upvotes: 1
Reputation: 2905
For anyone like me landing here where effreety's answer does not work, try whatever command you are trying to run without cask
.
cask
is no longer a brew
command.
Upvotes: 29
Reputation: 711
I was having a similar issue running brew cask install [...]
. I am running macOS Catalina v10.15.7. I used brew install --cask [...]
and it worked for me. In your case:
brew install --cask cscreen
Upvotes: 59