From bc3a9f122265b7de354190f940ecde88b0ec70b0 Mon Sep 17 00:00:00 2001 From: Henning Date: Fri, 9 May 2025 11:46:24 +0200 Subject: [PATCH] Use a Brewfile to install software, which is required to bootstrap my mac. --- README.md | 7 +++++-- misc/bootstrap.Brewfile | 6 ++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 misc/bootstrap.Brewfile diff --git a/README.md b/README.md index b5fb61c..418da35 100644 --- a/README.md +++ b/README.md @@ -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="" \ diff --git a/misc/bootstrap.Brewfile b/misc/bootstrap.Brewfile new file mode 100644 index 0000000..a9c86d7 --- /dev/null +++ b/misc/bootstrap.Brewfile @@ -0,0 +1,6 @@ +brew "coreutils" +brew "fzf" +brew "libmagic" +brew "mas" +brew "uv" +brew "zsh"