To set up all the packages in homebrew, I use brew-file
You must have homebrew installed on a Mac To install homebrew simply run the following command
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
eval "$(/opt/homebrew/bin/brew shellenv)"
To install homebrew, run the following commands Note: These commands are taken from the following link
- first install homebrew-file
brew install rcmdnk/file/brew-file
- set the brewfile repository to
qisaw/dotfiles
brew file set_repo
- install packages in brewfile rosetta is required for openjdk
sudo softwareupdate --install-rosetta brew file install
- install GO dev tools
go get golang.org/x/tools/cmd/godoc go get golang.org/x/tools/gopls
To install homebrew, run the following command
cd $HOME/dotfiles/homebrew/install
./install.sh