Коли я консолюю на своїй ubuntu
платформі, я отримую наступне, щоб перевірити node
деталі.
ось вихід:
dev@ubuntu14044:~$ nodejs -v
v0.10.25
dev@ubuntu14044:~$ node -v
v7.8.0
dev@ubuntu14044:~$ npm -v
4.4.4
dev@ubuntu14044:~$
щоб оновити свою nodejs
- я спробував так: sudo apt-get install -y nodejs
Але я завжди отримую nodejs
версію як. v0.10.25
Але я хочу оновити це в останній 7.x
спосіб, як це зробити?
## Confirming "n/a" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_7.x/dists/n/a/Release' ## Your distribution, identified as "n/a", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support
- як це виправити?