K
K
krlljs2016-05-02 20:53:46
linux
krlljs, 2016-05-02 20:53:46

How to replace nodejs executable with node in Ubuntu 14.00?

ndsdmfwg:~/workspace/node-v6.0.0 (master) $ node -v
v4.4.0
ndsdmfwg:~/workspace/node-v6.0.0 (master) $ nodejs -v
v5.11.0
Due to the fact that there are two versions, inexplicable things happen. Building from source is not an option. How do I turn nodejs into node? After all, I get 2 versions of npm, right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Ergil Osin, 2016-05-02
@krlljs

whereis node
whereis nodejs
Look where they live, then look with the package manager whose files they are, remove the extra.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question