Quantcast
Channel: Node.js will not Update to Latest Version - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Node.js will not Update to Latest Version

$
0
0

I currently have node.js version v7.6.0

According to documentation, v8.5.0 is the latest version of node.

I have tried installing it using https://nodejs.org/en/

    node -v returns v7.6.0.

I have tried the following commands in Terminal:

    [sudo] npm install npm@latest -g    npm install npm@latest -g    sudo apt-get update    sudo n 0.8.21    sudo n latest    lsb_release -a

Each command appears to recognize and install the latest version, but the final message reads:

Installed: v7.6.0

I've altered my BASH Profile to include:

    /usr/local/bin/node    /usr/local/bin/npm

My version still shows v7.6.0 as the current version running.

Side Note:My NPM is up-to-date at version 5.4.2

Is there any other way to update my Node to the current version?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>