Skip to content

punitda/mac-setup-instructions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Mac Setup Instructions

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. Setting up Terminal

1. Install oh-my-zsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

2. Install following Zsh plugins:

  • Zsh Autosuggestions
    git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
    
  • Zsh Syntax Highlighting
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
    
    Note: Setup of above plugins in .zshrc will be automatically done in later steps when we install your DotFiles setup.

3. Download Hyper.js terminal. 🙏

4. Install following plugins for Hyper.js:

  • 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

6. Run symlink setup scripts in DotFiles folder and done. 🤘

7. Copy .zsh_history file from your old machine

This will contain history of all the commands you typed on your old machine. Copy it to $HOME folder.


2. Installing dependencies

1. Install HomeBrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. Install Git

brew install git

3. Install JDK

# JDK 11
brew install openjdk@11

# JDK 17
brew install openjdk@17

4. Install Nvm (For managing Node versions)

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash

5. Install rbenv (For managing Ruby versions)

brew install rbenv ruby-build

5. Install Fvm (For managing Flutter versions)

brew tap leoafarias/fvm
brew install fvm

About

Includes dev setup instructions for new mac

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •