Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Homebrew cask option not recognized?

I am following an online resource for installing two Mac utilities

http://www.economyofeffort.com/2014/08/11/beyond-ctrl-remap-make-that-caps-lock-key-useful/

Here is the pertinent section:

Install both Karabiner and Seil. (Here again, if you use Homebrew Cask, you can do this with

$ brew cask install karabiner and

$ brew cask install seil

But the cask option is not recognized?

06:51:35/shared $brew cask install seil Error: Unknown command: cask 

Then, just for laughs I tried the command without the cask:

06:55:01/shared $brew install seil Error: No available formula for seil Searching formulae... Searching taps... Caskroom/cask/seil 

It is not clear what the last line of output even means: nothing seems to have happened on the system.

I am on Yosemite.

like image 558
WestCoastProjects Avatar asked May 23 '15 14:05

WestCoastProjects


People also ask

Is brew Cask deprecated?

brew cask commands were deprecated on 2020-12-01 with the release of Homebrew 2.6. 0. Starting then, all brew cask commands succeeded but displayed a warning informing users that the command would soon be disabled. The message also provides the appropriate replacement.

What is Cask option Homebrew?

brew cask is an extension to brew that allows management of graphical GUI applications. Homebrew Cask extends Homebrew and brings its elegance, simplicity, and speed to OS X applications and large binaries alike. Cask deals with a mixture of software and licences.

How do I find Homebrew casks?

You can use the --casks flag in brew search to "display all locally available casks". $ brew search -h Usage: brew search [options] [text|/text/] Perform a substring search of cask tokens and formula names for text. If text is surrounded with slashes, then it is interpreted as a regular expression.


1 Answers

As of 2021, the answer to this question for me was that instead of

brew cask install myprogram 

I should run:

brew install --cask myprogram 
like image 192
Jeremy John Avatar answered Nov 30 '22 17:11

Jeremy John