Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install. Error: Unknown command: cask #1234

Open
ShivaliGoel opened this issue May 10, 2021 · 2 comments
Open

Cannot install. Error: Unknown command: cask #1234

ShivaliGoel opened this issue May 10, 2021 · 2 comments

Comments

@ShivaliGoel
Copy link

Following steps at http://torch.ch/docs/getting-started.html

After bash install-deps I get the following error:
Error: Unknown command: cask

brew --version
Homebrew 3.1.6

@michalkordyzon
Copy link

Same here.
Running install-deps throws this error:
Error: "brew cask" is no longer a "brew" command. Use "brew <command> --cask" instead.

macOS Monterey, version 12.3.1
Homebrew 3.6.0

@michalkordyzon
Copy link

michalkordyzon commented Sep 8, 2022

I've changed install-deps.bat, line number 96 like that:
brew cask install xquartz --> brew install --cask xquartz
Running bash install-deps again works fine.

Unfortunately I don't know how to change it in the repo. install-deps is generated during installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants