DEV Community

Discussion on: Install vscode on OSX via brew

Collapse
 
tik9 profile image
Timo Körner

Why I need --cask? I installed without the flag and it works.

Collapse
 
xtrasmal profile image
Xander

Cask offers a way to manage the installation of graphical applications.

Brew without the --cask would install headless versions of those applications(like Docker for example) or would install the commandline version of it. It could also mean it install the application, but keeps it in the homebrew installation folder.

Installing all your applications through --cask allow you to better manage your system using homebrew only.

Homebrew offers the brew bundle dump command, which dumps all the things you installed on your machine through homebrew. It would create a file in your home directory called Brewfile, which you can use to easy recover your software using brew bundle install.