How to install PhoneGap for the Mac 1. Go to: http://phonegap.com/ 2. Click on "Install PhoneGap" 3. Click on "NodeJS" the browser will go to: http://nodejs.org/ 4. Click on "Install" to install NodeJS - Run the install program 5. Run "sudo npm install -g phonegap" to install phonegap. 6. To create a new project, run: phonegap create my-app cd my-app 7. To run on iPhone/iPad simulator: Install Xcode from Apple Store: RUN: sudo npm install -g ios-deploy RUN: sudo npm install -g ios-sim RUN: phonegap run iOS 8. To run on Android: Install Android SDK from: developer.android.com Add “adb” and “Android” to your path: Example: export PATH=$PATH:/Users/bhecker/adt-bundle-mac-x86_64-20140321/sdk/platform-tools Example: export PATH=$PATH:/Users/bhecker/adt-bundle-mac-x86_64-20140321/sdk/tools Or, edit your terminal path, run: nano .bash_profile and add the export commands to the file. If you need to install ant: RUN: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" RUN: brew install ant RUN: phonegap run android How to create a PhoneGap app from existing source code: (1) Download source code or PhoneGap project (2) Create a new project on your system - phonegap create For example, phonegap create helloworld (3) Open www directory of new project (4) Copy index.html and other files into the main and sub-folders as appropriate.