Giter Club home page Giter Club logo

Comments (5)

holman avatar holman commented on June 2, 2024 1

I think so? I think the bootstrap gets run first, and then install scripts get run separately afterwards, so brew should be around at that point.

from dotfiles.

holman avatar holman commented on June 2, 2024 1

I think I had some casks set up for installing macOS apps, but moved away from that. But yeah, I'd do this otherwise (and tbh, probably should, haha. It's been awhile since I seriously took a real look at my dotfiles!)

from dotfiles.

jacobwgillespie avatar jacobwgillespie commented on June 2, 2024 1

I know this repo used to have a Brewfile for installing brew software - I'm using one in my dotfiles: https://github.com/jacobwgillespie/dotfiles/blob/main/Brewfile. You can install regular formulae, casks, fonts, even App Store apps.

brew bundle will install everything listed in the Brewfile, which is nice. I have a call to brew bundle in my setup script. In this repo, bin/dot does install Homebrew before executing the install.sh files, so you could add brew bundle to any install.sh or directly to dot.

Another cool thing that brew bundle can do is brew bundle cleanup. That will print all the things you have installed manually that are not in your Brewfile. And then brew bundle cleanup -f will actually uninstall those extra packages. In this way you can use a Brewfile as the source-of-truth for what's installed with Brew on your machine, and pretty easily find anything not covered and either add it or let Brew clean it up.

from dotfiles.

bradical avatar bradical commented on June 2, 2024

is that how you would recommend doing it or is there some other way to handle installing brew packages on setup? seemed like you might have done something else in the past and the moved away from it?

from dotfiles.

holman avatar holman commented on June 2, 2024

Yeah, that's rad- I had a Brewfile before, but pulled it out for some reason that I can't quite remember. I think part of it might have been it didn't integrate as closely with the App Store (although it looks like that's more reasonable to do now). I also didn't know about bundle cleanup; that's really cool.

from dotfiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.