Closed Rajendraladkat1919 closed 2 years ago
I don't believe --cask
is required anymore. Can you upgrade brew with brew upgrade && brew update
and try to install a random cask without the --cask
flag?
@rdbreak
I have tried both brew upgrade
and brew-update
and after this tried to install package but I am ran into same issue.
Please check below snippet.
You can upgrade them with brew upgrade
➜ ~ brew cask install packer
Error: Unknown command: cask
➜ ~ brew upgrade
==> Upgrading 2 outdated packages:
pcre2 10.36 -> 10.37
git 2.31.1 -> 2.32.0
==> Upgrading pcre2 10.36 -> 10.37
==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/manifests/10.37
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/blobs/sha256:981738c8279de442ac2fc83fa61e9cdf75e5c26b19a6d7fc2179362da2d522f7
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:981738c8279de442ac2fc83fa61e9cdf75e5c26b19a6d7fc2179362da2d522f7?se=2021-06-10T07%3A45%3A00Z&sig=0hpjXAIaAFK9pve5iXTlxFdxD6FIldsB0oPdKfif1S0%3D&sp=r&spr=https&sr=b&sv=20
######################################################################## 100.0%
==> Pouring pcre2--10.37.big_sur.bottle.tar.gz
🍺 /usr/local/Cellar/pcre2/10.37: 230 files, 6.2MB
Removing: /usr/local/Cellar/pcre2/10.36... (230 files, 6.2MB)
Removing: /Users/xxxxx/Library/Caches/Homebrew/pcre2--10.36... (2.0MB)
==> Upgrading git 2.31.1 -> 2.32.0
==> Downloading https://ghcr.io/v2/homebrew/core/git/manifests/2.32.0
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/git/blobs/sha256:ae89ad7ec0ffdb013b49e6b8bb645d476c6cf25ba69f6e006dc917a5ef75cac1
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ae89ad7ec0ffdb013b49e6b8bb645d476c6cf25ba69f6e006dc917a5ef75cac1?se=2021-06-10T07%3A45%3A00Z&sig=ysI6so9yyaQ7DY%2Fdk%2B9GMtjD5hr%2FrFscBSZTJsNh6xk%3D&sp=r&spr=https&sr=b
######################################################################## 100.0%
==> Pouring git--2.32.0.big_sur.bottle.tar.gz
==> Caveats
The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula.
zsh completions and functions have been installed to:
/usr/local/share/zsh/site-functions
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/git
==> Summary
🍺 /usr/local/Cellar/git/2.32.0: 1,517 files, 42.0MB
Removing: /usr/local/Cellar/git/2.31.1... (1,508 files, 41MB)
Removing: /Users/rxxxxx/Library/Caches/Homebrew/git--2.31.1... (15MB)
==> Caveats
==> git
The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula.
zsh completions and functions have been installed to:
/usr/local/share/zsh/site-functions
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/git
➜ ~ brew cask install packer
Error: Unknown command: cask
➜ ~
Please check below thread for more information. https://stackoverflow.com/questions/30413621/homebrew-cask-option-not-recognized
@rdbreak
While creating the setup on Mac Os we are getting blow issue with cask command.
In order to resolve this issue. I have made the changes inside the
README.md
. correct command is: