Skip to content

Instantly share code, notes, and snippets.

@thinker3197
Created October 24, 2016 13:46
Show Gist options
  • Save thinker3197/51e220257c8ba9eb9b73b4c85dea8d23 to your computer and use it in GitHub Desktop.
Save thinker3197/51e220257c8ba9eb9b73b4c85dea8d23 to your computer and use it in GitHub Desktop.

Overlay Dev Env.

(The following instructions are for bash)

  1. Check if ruby exists : cd ../../System/Library/Frameworks/Ruby.Framework (This folder should exist & it indicates ruby env is installed.)
  2. Install brew : 2.1 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2.2 run brew 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.
  3. Install node & npm : brew install node (node comes pre-built with npm)
  4. Check npm path : npm config get prefix, it should be /Users/<your@bash_profile_name>
  5. Install common npm dev modules (globally) 4.1 npm install -g grunt-cli 4.2 npm install -g nodemon 4.3 npm install http-server
  6. Install yarn : 5.1 brew install yarn 5.2 echo 'export PATH="$PATH:$HOME/.yarn/bin' > .bashrc
  7. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment