I installed npm
with nvm
and the first time it went all great, now I tried to check npm version on Mac terminal an it shows:
% npm --version
zsh: command not found: npm
But using VSCode terminal with bash, with same command, shows:
npm --version
6.14.12
Is there a chance I installed the wrong way npm
or nvm
? Or is this a way I can tell Mac terminal to use bash instead of zsh?
/Users/myuser/.nvm/versions/node/v12.22.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
zsh:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin