Since the directory above has a space included, you'll need to enclose the directory in quotes for it to work properly:
In order to load the new
PATH after you add the above line to your
.bash_profile (you can create this file if necessary. in your home folder), you should either open a new Terminal window, or type:
You can check to see if it is correct by typing:
It should show the directory you've added.
Also, any time an executable is not in the
PATH you need to give a proper (absolute or relative) path to the executable in order for it to run. The relative path to the
PWD (present working directory) is
It is possible that your default shell is not BASH, type
to check this.
The benefit of adjusting your path in this fashion is that the change will persist across terminal sessions and reboots. You can alternately use an export command to set your path for a current terminal session.