osxSet environment variables


Introduction

In Mac OS X, you can set the environment variables in one of the following files :

~/.bashrc

~/.bash_profile

~/.profile

By default, Mac OS X does not has above files, you need to create it manually.