Comments (5)
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.
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.
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.
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.
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)
- Track ~/.ssh/config HOT 3
- bin programs not working HOT 7
- Some os commands (ls, ping...) not working after bootstrap HOT 1
- zsh/config.zsh INC_APPEND_HISTORY and SHARE_HISTORY HOT 1
- error messages when git repo is "new"
- Some aliases work and some don't? HOT 2
- Resource Improvement and Increased Portability (suggestion) HOT 2
- Homebrew installation of NVM is no longer supported. HOT 1
- c function not working HOT 3
- Issue with tmux when first run after install HOT 1
- iTerm just crashes HOT 1
- Expected prompt length leading to Terminal line overwriting HOT 2
- script/install does not run installers if one of them consumes stdin HOT 1
- README isn't clear, that you require "zsh" for these to work
- Accidentally created issue HOT 1
- Question: Reloading zshrc HOT 2
- What happened to the Brewfile? HOT 3
- Can I migrate my current .zshrc file to use this? HOT 1
- How can we revert/uninstall/unbootstrap this dotfiles? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.