AlanGreene / starter

Dotfiles starter project for new machines
1 stars 1 forks source link

Add missing apps to Brewfile #35

Open AlanGreene opened 3 years ago

AlanGreene commented 3 years ago

Add missing apps to the Brewfile so they're included by default on a fresh install. Maybe split out a separate Brewfile for apps / tools only used on personal machines.

AlanGreene commented 2 years ago

https://github.com/simeji/jid - interactive jq-style filtering of JSON

AlanGreene commented 2 years ago

brew leaves lists installed formulae that are not dependencies of another installed formula. brew ls --cask for Casks…

Compare output of these on primary machines with the Brewfile in this repo and resolve any differences.

AlanGreene commented 1 year ago

crane for interacting with remote images, e.g. confirming digest of an image by tag

AlanGreene commented 4 months ago

from https://github.com/omerxx/dotfiles

# Leaving a machine
brew leaves > leaves.txt

# Fresh installation
xargs brew install < leaves.txt
AlanGreene commented 4 months ago

https://github.com/Homebrew/homebrew-bundle

already used in https://github.com/AlanGreene/starter/blob/main/macOS/config.sh

supports installing from brew, cask, Mac App Store, and VS Code extensions

brew bundle is automatically installed when first run, should be able to remove the brew tap homebrew/bundle

AlanGreene commented 2 months ago

conditionals in brewfile (uses ruby syntax?)

e.g.

brew "starship"
brew "tmux"

# macos
if OS.mac?
    cask "iterm2"
    cask "karabiner-elements"
    cask "1password-cli"
    brew "bitwarden-cli"
    cask "keepingyouawake"
end

or

brew "emacs-plus", args: ["with-ctags"] if OS.mac?
AlanGreene commented 2 months ago

Difference between brew leaves and brew bundle dump ?

Running brew bundle dump will record an installation to a Brewfile and brew bundle install will install from a Brewfile. See brew bundle --help for more details.

AlanGreene commented 2 months ago

https://marketplace.visualstudio.com/items?itemName=sharat.vscode-brewfile

AlanGreene commented 2 months ago

https://docs.brew.sh/Cask-Cookbook#stanza-zap more complete uninstall (preferences, cache, etc.)