STAR-master/bin/MacOSX_x86_64 export PATH=$PATH:/path/to/STAR-master/bin/MacOSX_x86_64 like export PATH=$PATH:/Users/rashidminhas/STAR-2.7.6a/bin/MacOSX_x86_64 It will work perfectly
Here is what the above code is Doing:
1. It is creating a variable called “path” and assigning it the value of the path to the STAR executable.
2. It is adding the path to the STAR executable to the PATH variable.
3. It is printing the value of the PATH variable.