K
K
krumza2016-03-31 13:14:19
Node.js
krumza, 2016-03-31 13:14:19

How to remove unwanted version of nodejs?

I installed node through the console, it turned out to be ancient (0.10) and without npm.
Installed npm and then nvm and updated node.
But damn, the cant is that now I have nodejs (0.10) and node (5.8.0) in my system and b npm installs all packages for nodejs, for example, I installed forever, during the installation process it writes to me that the version of the node is old.
What to do then? How to remove the old version that I don't need, preferably without restarting the server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-03-31
@krumza

1. use the standard package manager to remove node
2. enter nvm use 5.8.0 to use version 5.8.0
3. node -v find out the current version
if the version is not the same, then which node is the path to the current one, and then decide what to do with it make

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question