# macOS Development Environment ``` _ __| | _____ __ ___ _ ____ __ / _` |/ _ \ \ / / / _ \ '_ \ \ / / | (_| | __/\ V / | __/ | | \ V / \__,_|\___| \_/ \___|_| |_|\_/ macOS ``` - Install Homebrew (https://brew.sh/) ``` $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" ``` - Install Terminal ``` #$ brew cask install alacritty #$ brew cask install iterm2 $ brew cask install kitty ``` - Install Git ``` $ brew install git ``` - Setting Up Git ``` $ git config --global user.name "Your Name" $ git config --global user.email "youremail@domain.com" ``` - Set Default Git Text Editor ``` $ git config --global core.editor "nvim" ``` - Generate the SSH key ``` $ ssh-keygen -t rsa -b 4096 -C "youremail@domain.com" ``` - Install Tmux ``` $ brew install tmux ``` - Install Oh My Tmux (https://github.com/gpakosz/.tmux) ``` $ cd $ git clone https://github.com/gpakosz/.tmux.git $ ln -s -f .tmux/.tmux.conf $ cp .tmux/.tmux.conf.local . ``` - Install Oh My Zsh (https://github.com/ohmyzsh/ohmyzsh) ``` $ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ``` - Install zsh-syntax-highlighting plugin (https://github.com/zsh-users/zsh-syntax-highlighting) ``` $ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting ``` - Install zsh-autosuggestions plugin (https://github.com/zsh-users/zsh-autosuggestions) ``` $ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions ``` - (Optional) Install Powerlevel10k theme (https://github.com/romkatv/powerlevel10k) ``` $ git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k ``` Set `ZSH_THEME="powerlevel10k/powerlevel10k"` in `~/.zshrc`. - (Optional) Install JetBrains Mono (https://github.com/JetBrains/JetBrainsMono) ``` $ brew tap homebrew/cask-fonts #do this once $ brew cask install font-jetbrains-mono ``` - (Optional) Install JetBrains Mono Nerd Font ``` $ brew cask install font-jetbrainsmono-nerd-font ``` - (Optional) Install Iosevka (https://github.com/be5invis/iosevka) ``` $ brew cask install font-iosevka ``` - (Optional) Install Iosevka Nerd Font ``` $ brew cask install font-iosevka-nerd-font ```