DEV Community

Discussion on: Install vscode on OSX via brew

Collapse
eloisetaylor5693 profile image
eloisetaylor5693

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 worked

Collapse
eloisetaylor5693 profile image
eloisetaylor5693

seems like newer version of homebrew uses --cask instead, so now looks like this:

brew install --cask visual-studio-code

Collapse
ilumin profile image
Teerasak Vichadee Author

Thanks mate, I'll update my post too!