How to create a bash profile
A typical install of OS X won't create a .bash_profile for you. When you want to run functions from your command line, this is a must have. Start Terminal Type "cd ~/" to go to your home folder Type "touch .bash_profile" to create your new file. Open the file " open -e .bash_profile" . it will open in TextEdit Type ". .bash_profile" or "source ~/.bash_profile" to reload .bash_profile and update any functions you add. You can add functions as below: ANDROID_NDK=/Applications/android-ndk PATH=$ANDROID_NDK:/Application/apache-ant/bin:/Applications/android-sdk/tools:/Applications/android-sdk/platform-tools:~/Library/Application\ Support/Titanium/mobilesdk/osx/2.0.1.GA2:$PATH alias ddms="/Applications/android-sdk/tools/ddms" alias titanium="/Users/jakir.hussain/Library/Application\ Support/Titanium/mobilesdk/osx/2.0.1.GA2/titanium.py"