Use a Brewfile to install software, which is required to bootstrap my mac.

This commit is contained in:
Philip Henning 2025-05-09 11:46:24 +02:00
parent 3d8dbbbb2f
commit bc3a9f1222
2 changed files with 11 additions and 2 deletions

View file

@ -6,12 +6,15 @@ I manage my dotfiles using [dotdrop](https://github.com/deadc0de6/dotdrop).
### Script
1. Install [Homebrew](https://brew.sh/)
2.
```shell
[[ ! $(command -v brew) ]] && /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" \
; brew update \
&& brew install coreutils libmagic uv fzf \
&& uv tool install --allow-python-downloads --python 3.11 dotdrop \
&& git clone https://github.com/shokinn/.files ~/.files \
&& brew bundle install --file=~/.files/misc/bootstrap.Brewfile \
&& uv tool install --allow-python-downloads --python 3.11 dotdrop \
&& echo "Enter profile name (leave empty for default): " \
&& read DOTDROP_PROFILE \
&& [[ -n ${DOTDROP_PROFILE} ]] && DOTDROP_PROFILE="-p ${DOTDROP_PROFILE}" || DOTDROP_PROFILE="" \

6
misc/bootstrap.Brewfile Normal file
View file

@ -0,0 +1,6 @@
brew "coreutils"
brew "fzf"
brew "libmagic"
brew "mas"
brew "uv"
brew "zsh"