Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including brewery-cli with all npm packages installed. Try it out:

var breweryCli = require("brewery-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

brewery-cli v0.3.1

Teeny tiny wrapper around brew

Brewery Build Status

A teeny tiny wrapper around the awesome Homebrew that writes your brew and cask formulas in a .breweryfile.json so that you can save it in your dotfiles


Install brewery globally via npm or yarn

npm install -g brewery-cli


yarn global add brewery-cli

then take all your brew and brew cask already installed formulas and create .breweryfile.json in your HOME folder

brewery init

for help run brewery

Hi from brewery 🍻  here some help

help                          - shows this output
init                          - creates .breweryfile.json in your HOME folder with the formulas that are currently installed in brew and brew cask
install [cask] [formula]      - with no arguments installs the formulas from .breweryfile.json. With arguments installs the formula and adds it to .breweryfile.json
list                          - shows the installed formulas
uninstall [cask] [formula]    - uninstalls a formula and removes it from .breweryfile.json


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free