Error: caskroom/cask was moved. Tap homebrew/cask-

2020-07-03 08:58发布

问题:

I try to go through installation process Github on MacOs Catalina

The first step is to execute in Terminal:

cd ~/
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash

But I get Error:

Error: caskroom/cask was moved. Tap homebrew/cask-cask instead.

Then I tried:

brew tap caskroom/cask

But I got the same error. Do you have any suggestions?

回答1:

You don't need to install cask anymore, you just need homebrew. Try using any cask command



回答2:

tap from homebrew instead of caskroom:

brew tap homebrew/cask-fonts


回答3:

//this code error:

brew tap caskroom/fonts
Error: caskroom/fonts was moved.

//the correct code.

brew tap homebrew/cask-fonts
brew cask install font-fira-code


回答4:

ok, I understand, just type in 'brew cask', and wait.....

MyMacBook-Pro:homebrew-core adam$ brew cask ==> Tapping homebrew/cask Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'... remote: Enumerating objects: 3581, done. remote: Counting objects: 100% (3581/3581), done. remote: Compressing objects: 100% (3573/3573), done. remote: Total 3581 (delta 23), reused 578 (delta 6), pack-reused 0 Receiving objects: 100% (3581/3581), 1.19 MiB | 18.00 KiB/s, done. Resolving deltas: 100% (23/23), done. Tapped 1 command and 3470 casks (3,586 files, 3.9MB). Homebrew Cask provides a friendly CLI workflow for the administration of macOS applications distributed as binaries.

Commands:

--cache    display the file used to cache the Cask
audit      verifies installability of Casks
cat        dump raw source of the given Cask to the standard output
create     creates the given Cask and opens it in an editor
doctor     checks for configuration issues
edit       edits the given Cask
fetch      downloads remote application files to local cache
home       opens the homepage of the given Cask
info       displays information about the given Cask
install    installs the given Cask
list       with no args, lists installed Casks; given installed Casks, lists staged files
outdated   list the outdated installed Casks
reinstall  reinstalls the given Cask
style      checks Cask style using RuboCop
uninstall  uninstalls the given Cask
upgrade    upgrades all outdated casks
zap        zaps all files associated with the given Cask

See also "man brew-cask"