how can I find my node.js files in linux, /usr/bin/node is not working

In order to find the installation path, write the below command in the terminal:

which node

If it doesn’t succeed, try this one:

which nodejs

Same thing for finding npm installation path:

which npm

If you are on Windows, write where instead of which

Hope, it helps 🙂

Leave a Comment

tech