The instructions to setup dev environment on a new a Mac. Please feel free to use it if your setup looks similar.
Note: Below instructions are applicable only for macOS
1. Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Zsh Autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
- Zsh Syntax Highlighting
Note: Setup of above plugins in
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
.zshrc
will be automatically done in later steps when we install your DotFiles setup.
3. Download Hyper.js terminal. 🙏
- hyper-snazzy
- hypercwd
Note: Just open
~/.hyper.js
file and add above in list of plugins field like below:
plugins: [ 'hypercwd','hyper-snazzy'],
Note: Below 2 steps can be skipped as this involves a private repo
5. Clone DotFiles repo
This will contain history of all the commands you typed on your old machine. Copy it to $HOME folder.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git
# JDK 11
brew install openjdk@11
# JDK 17
brew install openjdk@17
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
brew install rbenv ruby-build
brew tap leoafarias/fvm
brew install fvm