(The following instructions are for bash)
- Check if ruby exists :
cd ../../System/Library/Frameworks/Ruby.Framework
(This folder should exist & it indicates ruby env is installed.) - Install brew :
2.1
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2.2 runbrew doctor
, to check brew'w installation. 2.2 In case of any error, DONT REFER STACKOVERFLOW! Ask me, else you'll fuck your dev enviornment. - Install node & npm :
brew install node
(node comes pre-built with npm) - Check npm path :
npm config get prefix
, it should be/Users/<your@bash_profile_name>
- Install common npm dev modules (globally)
4.1
npm install -g grunt-cli
4.2npm install -g nodemon
4.3npm install http-server
- Install yarn :
5.1
brew install yarn
5.2echo 'export PATH="$PATH:$HOME/.yarn/bin' > .bashrc
- Install Sublime & following packages : 6.1 backrefs 6.2 HTML-CSS-JS Prettify 6.3 Sublime Linter 6.4 Babel 6.5 markupsafe 6.6 SublimeLinter-contrib-eslint