Answer the question
In order to leave comments, you need to log in
How to install fresh version of Nodejs in ubuntu?
Introduced commands in which 5.x appears
https://github.com/nodesource/distributions#debinstall
as a result, when I enter
nodejs --version
0.10.25
Answer the question
In order to leave comments, you need to log in
Try to add sudo in front of the installation commands, you may not have enough rights to overwrite the version that is already there.
Try like this:
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get update
sudo apt-get install -y nodejs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question