Follow the steps on https://brew.sh.
git clone https://github.com/ogirginc/dotfiles.git Dotfiles
mkdir ~/.config/
mkdir ~/.hammerspoon/
mkdir ~/.config/nvim/
mkdir ~/.config/nvim/.undo/
mkdir ~/.config/nvim/.backup/
mkdir ~/.config/nvim/.swp/
ln -sfn ~/Dotfiles/psqlrc ~/.psqlrc
ln -sfn ~/Dotfiles/zshrc ~/.zshrc
ln -sfn ~/Dotfiles/p10k.zsh ~/.p10k.zsh
ln -sfn ~/Dotfiles/git/ ~/.config/
ln -sfn ~/Dotfiles/nvim/lua ~/.config/nvim/
ln -sfn ~/Dotfiles/nvim/init.lua ~/.config/nvim/
ln -sfn ~/Dotfiles/hammerspoon/init.lua ~/.hammerspoon/
ln -sfn ~/Dotfiles/hammerspoon/Spoons ~/.hammerspoon/
ln -sFfn ~/Dotfiles/tmuxconf ~/.tmux.conf
ln -sfn ~/Dotfiles/hushlogin ~/.hushlogin
Install Homebrew and bundle your brewfile;
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
brew bundle