Upgrading Node.js on the Raspberry Pi

Check the current running version of Node.js:

  • node -v
  • v4.0.0

Update the package repository to use the latest version of Node.js:

Now upgrade Node.js to the latest version:

  • sudo apt install nodejs

Cleanup – You may not need

  • sudo apt-get autoremove

Check version of Node.js running

  • node -v
  • v7.10.o
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s