mac

Fix Node.js doesn't look global folder on MAC

Fix Node.js doesn't look global folder on MAC

Open your ~/.bash_profile add this line

export NODE_PATH=/usr/local/lib/node_modules

Save ~/.bash_profile

Installing Drush on Mac using Homebrew

  1. Install Homebrew with command:
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  2. Use Homebrew install drush with commands
    brew tap homebrew/dupes
    brew tap homebrew/versions
    brew tap homebrew/php
    brew install php55
    brew install composer
    brew install drush
     

MAC OS: Change fn to command key

Just moving to MAC OS and have problem with fn key when using Windows keyboard, fortunately there is a free application called Karabiner help you can swap fn and command key.