Error: Unknown command: cask code example
Example 1: unknown command cask
# Instead of using:
brew cask install myprogram
# Use:
brew install --cask myprogram
Example 2: Error: Unknown command: cask
brew cask install alfred
# Instead of using:
brew cask install myprogram
# Use:
brew install --cask myprogram
brew cask install alfred