Setting up Development Environment for MacBook Pro (MacOS Sierra)

Run the command below to install command line tools for Xcode.

xcode-select –install

Homebrew is one of the most popular package manage for MacOS. It is written in Ruby Programming Language by Max Howell. To install Homebrew, copy and paste the following command in terminal,  hit “Enter” and follow the steps.

/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

To run brew on your terminal, you need to add its path to .bash_profile or .zshrc depending on the shell you are using.

echo ‘export PATH=”/usr/local/bin:$PATH”‘ >> ~/.bash_profile

To verify, if it is install successfully, run the following command.

brew doctor

iTerm2 is an open source replacement for Apple’s Terminal. It’s highly customizable and comes with a lot of useful features.

brew cask install iterm2

Oh-My-Zsh is an open source, community-driven framework for managing your ZSH configuration.

Install zsh

brew install zsh zsh-completions

Install oh-my-zsh

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

If you are into web development, it would be a good idea to have the different browsers. It comes handy whenever required.

Install Google Chrome

brew cask install google-chrome

Install Firefox

brew cask install firefox

Code Editors – Sublime and Atom are amongst the popular and widely used editors.

brew cask install sublime

brew cask install atom

brew install wget –with-iri

The Node Ecosystem

NodeJS

brew install node

MongoDB

brew install mongodb

brew services start mongodb

PHP Ecosystem

brew install composer

brew install php71

brew link php@7.1 –force

brew install mysql

brew cask install postman


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *