LARAGON – Update Node.js

1. Introduction

In Laragon, updating node.js to its latest version is easy.

Just download the new version, unpack it into the right folder and select the new version in the Laragon menu.

2. Currently installed Node.js version?

  • In the Node.js section, you can see the installed Node.js version.
  • Open a terminal window by clicking the Terminal button in the Laragon Button Menu.
  • Then type node -v to get the exact node.js version installed.
  • Close the terminal window.

3. Laragon - Updating Node.js

  • Download the latest LTS win-x64 Node.js version from nodejs.org/en/download/ into your \Downloads\ folder.
    The packed file is named for instance node-v14.16.0-win-x64.zip.
  • Unpack the downloaded ZIP archive in a folder with the same name, for instance node-v14.16.0-win-x64.
  • Move the complete \node-v14.16.0-win-x64\ folder to the \bin\nodejs\ folder of your Laragon installation.
  • In the Node.js section, select the newly installed Node.js version.
  • In the Tools section, select Tools, then Path, then Remove Laragon from Path. Wait a few seconds…
  • In the Tools section, select Tools, then Path, then Add Laragon to Path. Wait a few seconds…
  • Open a terminal window by clicking the Terminal button in the Laragon Button Menu.
  • Then type node -v to get the exact node.js version installed.
  • Close the terminal window.
  • Now you can remove the previous version by removing its corresponding folder from \bin\node.js\.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.