Homebrew ☕ & Quarto

tips
Author

Sep Dadsetan

Published

January 1, 2023

Something I don’t see many data folks use so maybe it’s useful for you 😃

Installing Quarto Using Brew

Quarto

If you’re from the R world I’m sure you’ve heard of Quarto by now. In short, Quarto is a publishing system built on Pandoc that allows you to do all sorts of fun stuff (in Python, Julia, and ObservableJS also!) and you really need to check it out. I won’t go into too much detail as there are already MANY great resources online for what it is and how to use it for your needs. If there’s interest, I’d be happy to cover a scenario or two, but you’ll have to let me know in the comments.

Brew

Now let’s get to the second character in our story, Homebrew. For those on the Mac, this is a very valuable tool to have on your machine as it helps with installing and managing a wide array of CLI (command line interface) tools as well as GUI (graphical user interface) applications. For example, if you wanted to install the RStudio IDE, rather than go to the Posit Downloads, download the application, and install it on your machine, you could install the RStudio IDE with a simple one-line command.

brew install --cask rstudio

Cool, right?! There’s a handy Medium article that lays out some of the neat abilities of brew. Make sure to check it out to get a better picture of it’s power.

The Benefits

Great, so now we know of Quarto and Brew how do the two work together? As you may have guessed, we can install quarto with brew, but why do that? With Quarto specifically, because it’s actively being developed and is updated so often, it ends up being kind of a PITA (pain-in-the-ass) to check the page for releases and then download and update your installation. So we can just rely on brew to help us do that with a single command 😃.

brew install --cask quarto

Easy peasy. I hope that was a helpful tip. Let me know your thoughts in the comments. Is there a another way you manage software?