M
M
Maxim Ivanov2016-01-28 01:07:34
Node.js
Maxim Ivanov, 2016-01-28 01:07:34

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

3 answer(s)
I
Ilya Shatokhin, 2016-01-28
@splincodewd

Use nvm (node ​​version manager) .

T
Timur Shemsedinov, 2016-01-28
@MarcusAurelius

Try to add sudo in front of the installation commands, you may not have enough rights to overwrite the version that is already there.

D
Dmitry Belyaev, 2016-01-28
@bingo347

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 question

Ask a Question

731 491 924 answers to any question