Laragon is a portable, isolated, fast & powerful universal development environment for PHP, Node.js, Python, Java, Go, Ruby. It is fast, lightweight, easy-to-use and easy-to-extend.
Currently if you want to add another version of Node:
You have to manually go to the website of NodeJS, download the latest version.
Extract the contents in your {laragon}/bin/nodejs
Switch your version by going to Menu > NodeJS > Version [current version] > Select version.
Which is quite simple to do, but maybe for a feature release it would be nice to add something like NVM (Node Version Manager) ?
nvm allows you to quickly install and use different versions of node via the command line.
This allows you to do commands like:
nvm install latest - to get the latest version
nvm install 19.8.0 - to install that specific version
nvm use 19.8.0 - to switch to that version
You can install as many as you want and then simply use the nvm use command to switch to the version you want.
This way there could potentially be a new button in the menu like:
Then the Menu > NodeJS > Version [current version] > Select version. option could simple fetch all your installed versions by using nvm list and by selecting one use nvm use [version].
Now nobody is downloading and installing tons of NodeJS versions every day so doing it manually isn't the biggest deal, but I feel like it might be a nice small addition.
Hi,
Currently if you want to add another version of Node:
{laragon}/bin/nodejs
Menu > NodeJS > Version [current version] > Select version
.Which is quite simple to do, but maybe for a feature release it would be nice to add something like NVM (Node Version Manager) ?
This allows you to do commands like:
nvm install latest
- to get the latest versionnvm install 19.8.0
- to install that specific versionnvm use 19.8.0
- to switch to that versionYou can install as many as you want and then simply use the
nvm use
command to switch to the version you want. This way there could potentially be a new button in the menu like:Menu > NodeJS > Install version > Latest
Menu > NodeJS > Install version > v18
Menu > NodeJS > Install version > v17
This list could obviously be fetched from https://nodejs.org/en/download/releases/
Then the
Menu > NodeJS > Version [current version] > Select version
. option could simple fetch all your installed versions by usingnvm list
and by selecting one usenvm use [version]
.Now nobody is downloading and installing tons of NodeJS versions every day so doing it manually isn't the biggest deal, but I feel like it might be a nice small addition.