phantomjs - Make a executable file work anywhere mac os -
i installed phantomjs in mac. thought when input in terminal phantomjs xx.js
should work. however, returns
-bash: phantomjs: command not found
then found file phantomjs located in
/usr/local/cellar/phantomjs/2.0.0/bin
only if in directory, can use command phantomjs
. question how can make command phantomjs
work in other locations, /usr/documents/...
thanks!
Comments
Post a Comment