Monthly Archives: February 2015

Cordova Installation on Mac

Here I list steps which I finish the Cordova Installation on Mac.

1. Install brew

If you already have homebrew, you can skip this step or you can uninstall brew first and then re-install.

rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

If you meet any problems on installing homebrew, you can use “brew doctor” to check it.

2. Install Node.js

You need to install node.js, because Cordova needs the NPM tool.

brew install node

3. Install Android-SDK

brew install android-sdk

4. Install Ant

brew install ant

5. Install Cordova

sudo npm install -g cordova