How to Run Multiple Versions of Node.js ? Last Updated : 17 Aug, 2021 Comments Improve Suggest changes Like Article Like Report Usually, we work on different versions for our Node.js project and it's hard to manage them, but fortunately, there is a tool called NVM(node version manager) which helps to manage your node version and switch between them according to your projects. Install NVM Module: You can install the nvm module using the following command: Using curl: $ curl -o- https://raw.githubusercontent.com/nvm-sh/v0.34.0/install.sh | bash After installation, you need to add a bit of configuration in your .bashrc file as shown below: $ nano ~/.bashrcThen add the following code to the end of the file: export NVM_DIR="${XDG_CONFIG_HOME/:-$HOME/.}nvm" [ -s :$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"Reload your bash using the following command: $ source ~/.bashrc Module Installation: To install the latest version of Node, the following command can be used: $ nvm install nodeTo install the specific version of Node, the following command can be used: $ nvm install {node_version} $ nvm install 10.10.0List all Node Version: To list out all the versions installed, the following command can be used: $ nvm lsSwitch Node Version: The switching between different node versions can be done using the following command: $ nvm use node # to use latest version $ nvm use 10.0.0 # for a specific versionDeleting Node versions: The node versions can be uninstalled using the following command: $ nvm uninstall 10.0.0Conclusion: Managing the node versions is very useful if you are working on multiple projects which requires a different version of node. Above given are some important commands for doing so. Reference: About NVM: https://github.com/nvm-sh/nvm About the Linux Command line: https://btholt.github.io/complete-intro-to-linux-and-the-cli/ Comment More infoAdvertise with us Next Article How to Run Multiple Versions of Node.js ? A afifahmed Follow Improve Article Tags : JavaScript Web Technologies Node.js Node.js-Misc Similar Reads What are LTS versions of Node.js ? LTS version is an abbreviation of the Long Time Support version where the release of the software is maintained for a more extended period of time. The LTS version is commonly recommended to users for production environments.In Node.js, new versions frequently come with more features, optimized perf 3 min read How to install the previous version of Node and npm? Installing a specific version of Node.js and npm can be essential for compatibility reasons or to work with legacy projects. In this guide, weâll go through the steps to install an older version of Node.js and npm on your system.What is NodeJS?Node is a JavaScript runtime(server-side) built on the V 3 min read Node.js | os.version() Method The os.version() method is used to identify the version of the kernel of the Operating System. This information is determined by calling uname on POSIX systems and calling RtlGetVersion() or GetVersionExW() on Windows systems. Syntax: os.version() Parameters: This function does not accept any parame 1 min read How to Run Node.js with Express on Mobile Devices ? Node.js is a cross-platform open-source Javascript runtime environment and library for running web applications outside the browser. It is based on Chrome's V8 engine. Node.js is used to create server-side and command-line applications. Express.js is one of the most popular node frameworks. It is a 2 min read How to Install Node.js on Windows Installing Node.js on Windows is a straightforward process, but it's essential to follow the right steps to ensure smooth setup and proper functioning of Node Package Manager (NPM), which is crucial for managing dependencies and packages. This guide will walk you through the official site, NVM, Wind 6 min read How to Install Node & Run NPM in VS Code? Node.js is an open-source, server-side JavaScript runtime environment built on the V8 engine. It allows developers to execute JavaScript code outside of a web browser. In this article, we will see how to install Node.js and NPM and install packages in VS Code using NPM. Steps to Install NodeJS and N 2 min read How to Install Specific NPM Version ? Node Package Manager (npm) is the default package manager for Node.js and is crucial for managing JavaScript libraries and frameworks. Sometimes, you may need to install a specific version of npm to ensure compatibility with certain projects, scripts, or tools. This article explains how to install a 2 min read How to Update Node.js and NPM to the Latest Version (2025) Updating Node.js and NPM to the latest version ensures the newest features, performance improvements, and security updates. This article will guide you through the steps to update Node.js and npm to the latest version on various operating systems, including Windows, macOS, and Linux.Different Method 3 min read How to Run Multiple NPM Scripts in Parallel? Running multiple npm scripts in parallel can be particularly useful when you need to perform several tasks simultaneously, such as starting a server, running a build process, and monitoring file changes. This can save time and streamline your development workflow. Hereâs a comprehensive guide on how 3 min read Node JS Versions Node.js is an open-source, cross-platform runtime environment built on Chromeâs V8 JavaScript engine for executing JavaScript code outside of a browser. It provides an event-driven, non-blocking (asynchronous) I/O and cross-platform runtime environment for building highly scalable server-side applic 5 min read Like