I installed npm in my Debian by using this command
<code> curl -L https://npmjs.org/install.sh | sudo sh </code>
at the end it says,
/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
[email protected] /usr/lib/node_modules/npm
It worked
But after that when I run npm
command in my terminal in shows:
root@orvi:/home/orvi# npm
bash: /usr/local/bin/npm: No such file or directory
so I assume I have to change the npm path. now I want to know how do I do it ?
Relaunch bash. It should correct the path issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With