The MacBook Pro I just bought uses .bash_profile instead of .profile


(rgrezek) #1

Hi, this is with reference to the help article on npm permissions for the Mac found on https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally

The MacBook Pro which I just bought, uses ~/.bash_profile instead of ~/.profile which is also to be created in the root directory.

Do put a caveat on the liner which mentions ~/.profile that the latest Mac uses .bash_profile instead of .profile, thanks!


(John Gee) #2

Shell startup files are complicated! Bash:
https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html