Update README and add Brewfile for software installation

This commit is contained in:
Philip Henning 2025-05-09 15:27:38 +02:00
parent bc3a9f1222
commit 558dbfdc8a
2 changed files with 79 additions and 8 deletions

View file

@ -6,33 +6,40 @@ 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 \
&& git clone https://github.com/shokinn/.files ~/.files \
&& brew bundle install --file=~/.files/misc/bootstrap.Brewfile \
&& sudo sh -c "echo \"/opt/homebrew/bin/zsh\" >> /etc/shells" \
&& chsh -s /opt/homebrew/bin/zsh \
&& 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="" \
&& ~/.local/bin/dotdrop ${DOTDROP_PROFILE} --cfg=~/.files/config.yaml install \
; unset DOTDROP_PROFILE \
&& brew bundle install --file=~/.files/misc/Brewfile \
&& ${SHELL}
```
### Manual
1. Install [Homebrew](https://brew.sh/)
2. Install `coreutils`, `libmagic` and `uv` via Homebrew.
2. Install `coreutils`, `fzf`, `libmagic`, `mas`, `uv` and `zsh` via Homebrew.
```shell
brew bundle install --file=~/.files/misc/bootstrap.Brewfile
```
3. Install `drotdrop` via `uv` (`uv tool install --allow-python-downloads --python 3.11 dotdrop`).
4. Clone dotfiles, install dependencies for dotdrop and install dotfiles.
```shell
git clone https://github.com/shokinn/.files ~/.files \
&& ~/.local/bin/dotdrop --cfg=~/.files/config.yaml install
```
5. Install my default set of tools:
```shell
brew bundle install --file=~/.files/misc/Brewfile
```
## Documentation

64
misc/Brewfile Normal file
View file

@ -0,0 +1,64 @@
brew "age"
brew "bat"
brew "btop"
brew "colima", restart_service: :changed
brew "coreutils"
brew "docker"
brew "eza"
brew "fzf"
brew "gnu-getopt"
brew "htop"
brew "iproute2mac"
brew "jq"
brew "libmagic"
brew "macmon"
brew "magic-wormhole"
brew "mas"
brew "mosh"
brew "mpv"
brew "ncdu"
brew "nmap"
brew "pssh"
brew "pv"
brew "ruff"
brew "telnet"
brew "the_silver_searcher"
brew "tig"
brew "tldr"
brew "tmux"
brew "uv"
brew "watch"
brew "wget"
brew "yq"
brew "yt-dlp"
brew "zsh"
cask "aldente"
cask "alfred"
cask "bruno"
cask "crystalfetch"
cask "iina"
cask "iterm2"
cask "jordanbaird-ice"
cask "mist"
cask "monitorcontrol"
cask "nextcloud"
cask "rambox"
cask "utm"
cask "visual-studio-code"
cask "zen"
mas "AdGuard for Safari", id: 1440147259
mas "Amphetamine", id: 937984704
mas "DeArrow", id: 6451469297
mas "Moom Classic", id: 419330170
mas "openterface", id: 6478481082
mas "Parcel", id: 639968404
mas "Perplexity", id: 6714467650
mas "reMarkable", id: 1276493162
mas "Slack", id: 803453959
mas "SponsorBlock", id: 1573461917
mas "Strongbox", id: 1481853033
mas "Table Tool", id: 1122008420
mas "Tailscale", id: 1475387142
mas "Tampermonkey", id: 6738342400
mas "WireGuard", id: 1451685025
mas "Yubico Authenticator", id: 1497506650