Ways to run script from anywhere

Hi I am trying to make my scripts to run from any directory and after some research (googling) I find there are 2 ways to do this

  1. export PATH=$PATH:directory

  2. create a /bin directory in your home directory and put your scripts there.

Could someone tell me the relative merits of either method or is it only a personal preference?

Thanks

If you put them in ~/bin then (typically) only you have access to them.
If the scripts are part of a larger project, then segregating them into separate directories may be more convenient for distribution/backup etc.