

This command will provide output that looks something like this: Listing.

I see that I am running Node 17.3.0 and I really want to be running the latest stable build within this Node branch (Node 17.9.0).įirst, we run the apt “update” command. Run the following command from the terminal: $ node -v Our first step is to ascertain the current version of Node we are running.

For example, upgrading from Node 17.3.0 to Node 17.9.0. This section explains the steps necessary to upgrade Node to the latest version within a given major version. Let’s get started! Minor/Patch Version Upgrades I’m assuming you followed the steps in my Beginners’ Guide, especially under the “Install Node.js” section where we update the Raspbian/Debian package repository to include the Node.js binaries provided by NodeSource. The steps are quite easy and can be adapted to other Debian variants as well including Ubuntu.
#Nvm install node raspberry pi how to#
I’ve received questions from readers of my Beginner’s Guide to Installing Node.js on a Raspberry Pi wanting to know how to upgrade to more recent versions of Node.js on the Raspberry Pi.
