Following the brew instructions noted in your post, I ran this brew cask install visual-studio-code, but got an error: Error: Unknown command: cask
brew cask install visual-studio-code
Error: Unknown command: cask
After removing cask it worked
cask
seems like newer version of homebrew uses --cask instead, so now looks like this:
--cask
brew install --cask visual-studio-code
Thanks mate, I'll update my post too!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Following the brew instructions noted in your post, I ran this
brew cask install visual-studio-code
, but got an error:Error: Unknown command: cask
After removing
cask
it workedseems like newer version of homebrew uses
--cask
instead, so now looks like this:brew install --cask visual-studio-code
Thanks mate, I'll update my post too!