I installed node and npm and both work fine.
However, when I try to install express through npm install -g express, I get:
zsh: command not found: express.
I tried adding various paths to my .zshrcfile with no luck.
If I echo $path, I get the following:
Users/Adam/.nvm/v0.10.26/bin /usr/local/heroku/bin /Users/Adam/.rbenv/shims /usr/local/bin /usr/bin /bin /usr/sbin /sbin
If I run npm - prefix -g, I get the following:
npm@1.4.3 /Users/Adam/.nvm/v0.10.26/lib/node_modules/npm
Using mac osx 10 with zsh.
source
share