S
S
sergey2015-09-19 22:59:59
Node.js
sergey, 2015-09-19 22:59:59

How to be, different versions of node?

I updated node on the machine (Ubuntu 14.04) to version v4.0.0, but when I make a node -v request in the console, everything is OK, but when nodejs -v shows the v0.10.40 version, why is that? How to fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-09-19
Protko @Fesor

well... you have two versions of node installed, remove one of them.

S
scapp, 2015-09-19
@scapp

Use n
npm i -g n

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question