A
A
ayapergenov2015-06-04 13:55:50
HTML
ayapergenov, 2015-06-04 13:55:50

What is the difference between node and nodejs?

I use nodejs for work. When installing sudo apt-get install nodejs, version 0.10.25 was installed, although version 0.12.4 is the latest on the nodejs site.
I installed this version with:
udo npm cache clean -f
sudo npm install -gn
sudo n stable
When prompted -v gives both versions for node and nodejs
301598adb9994cc4923c35dbbe276b3c.png
Only what is the difference please explain?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2015-06-04
@sim3x

Demolish both Install
off package
We read https://deb.nodesource.com/setup to find out how additional repositories will be added to our PC. All responsibility for the problems is only on you
By default, 0.10.x is put

curl -sL https://deb.nodesource.com/setup | sudo bash -
paste to install repositories
sudo apt-get update && sudo apt-get install -y nodejs
install the node
if you need fresh, then change
deb https://deb.nodesource.com/node_0.10 ....
deb-src https://deb.nodesource.com/node_0.10 ...

on the
deb https://deb.nodesource.com/node_0.12 ....
deb-src https://deb.nodesource.com/node_0.12 ...

// you can find out about your packages like thiswhich node; man node

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question