N
N
Nwton2016-06-25 17:16:22
Node.js
Nwton, 2016-06-25 17:16:22

How to install nodejs specific version?

I work with ubuntu. I usually install nodejs like this:
apt-get install nodejs
0.10.xx version of the node is installed. What to write in this command to install, for example, version 0.12.0?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Yarkov, 2016-06-25
@Nwton

# обновляемся
sudo apt-get update
# ставим нужные пакеты
sudo apt-get install build-essential libssl-dev
# ставим nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | bash
source ~/.profile
# смотрим список доступных версий ноды
nvm ls-remote
# ставим нужную
nvm install <version>

S
sim3x, 2016-06-25
@sim3x

https://nodejs.org/en/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question