How to Use Multiple Node.js Versions using NVM

How to Use Multiple Node.js Versions using NVM. NVM stands for Node.js Version Manager which is more flexible tool to install and manage multiple versions of Node.js and the associated packages at the same time.

In this guide you are going to learn how install specific version of Node.js using NVM. This setup is tested on Google Compute Engine running Ubuntu 20.04 OS.

Choose Best Hosting for your Business.

To install or update NVM you can use the curl command to download and execute the file. You can get the latest version from the nvm official repository. Copy the curl command from the readme section of the repo.

This command will install NVM on your account. To use the tool you need to source your .bashrc file.

To verify the installation use the following command.

If the installation is successful you should see the output as nvm.

...

Read Full Post

News Link: https://www.cloudbooklet.com/how-to-use-multiple-node-js-versions-using-nvm/?utm_source=rss&utm_medium=rss&utm_campaign=how-to-use-multiple-node-js-versions-using-nvm.
RSS Link: https://www.cloudbooklet.com/feed/.

Linux Chatter is a news aggregator service that curates some of the best Linux, Cloud, Technical Guides, Hardware and Security news. We display just enough content from the original post to spark your interest. If you like the topic, then click on the 'read full post' button to visit the author's website. Use Linux Chatter to find content from amazing authors!

Note: The content provided has been modified and is not displayed as intended by the author. Any trademarks, copyrights and rights remain with the source.

Disclaimer: Linux Chatter sources content from RSS feeds and personal content submissions. The views and opinions expressed in these articles are those of the authors and do not necessarily reflect those of Linux Chatter.