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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s