If you installed bower on your Mac with command npm install bower -g
npm install bower -g
then try to use it bower --help,
and saw output bower: command not found..
bower: command not found
Just run this in terminal:
Thanks! But what exactly does this line do? Just wondering.
@ray760 PATH is an environment variable that contains a list of directories where the shell search for executables. When the output for some command is "not found", it means that the shell did not find the executable for the command in anyone of the directories listed in PATH. This command add to PATH the directory where bower executable is.
More info: https://www.cs.purdue.edu/homes/cs348/unix_path.html
Sorry any engrish.