Spaghetti and Hammers

Homebrew package manager logo

Mac and homebrew, the perfect marriage

September 07, 2015 | 1 Minute Read

Last week, on September 1st, I started a new adventure on Codacy.

Codacy is an automated code review tool that allows developers to improve code quality and monitor technical debt. It aims to improve the code review process. To achieve such goal, not only automates the code review process, but also integrates with existing project management tools such Bitbucket, Github, Travis CI, and so on.

Codacy homepage

As usual, when getting a new job, you have to configure your workstation once again. Having a mac, you do not have that native amazing tool as you have in Linux distributions: apt-get (or yum, or some other equivalent), a command-line tool for handling packages, that allows you to install most of your software easily.

Of course, if you are a mac user, you are probably aware of Homebrew, the equivalent command-line tool for mac. Using brew you can get a lot of software installed in your mac. Nevertheless, there is still plenty of software you have to download for yourself, open the installer, and drag to your Applications folder. And that sucks. I don’t want to open dozens of websites, look for the latest version, download it, and drag them to the Applications folder. I want to have a script that can install all the software I need, without my intervention.

brew install git

Fortunately, I got to meet Homebrew Cask, an extension to Homebrew that promises to end with the drag to install action. To install it, just type in your terminal:

brew install caskroom/cask/brew-cask

And voilà, you are ready to install all the software you need ! </br> For instance, you can install Skype, Slack, Hipchat, Dropbox, Intellij, Vlc, even Popcorn-time ! Just find out what’s available at Cask Search !

Just select those you need and recommend those you think it could be handy.

Newsletter

Did you enjoy this blog post? Sign up for my Newsletter to be notified of new posts. (Pretty low-volume, around once per month.)