![]() You could also specify a specific version. For example, to set v10 as default you could do the following: Setting a default version of Node.js would make that version available in shell everytime you open it. You can simply run the node -version command to check which version of Node.js is currently active (i.e. To list all versions of Node.js installed via NVM, you can run the nvm ls command. Listing All Installed Versions of Node.js For example, to install Node.js v12.22.1 you would run the following command: NVM also allows you to install a specific Node.js version. ![]() For example, the following will install Node.js v10 and v14 on your local machine: Once you have NVM installed on your machine, you can install multiple versions of Node.js simply by using the nvm install command followed by the Node.js version. Using Node Version Manager (NVM), you can install and use multiple versions of Node.js on your local machine.
0 Comments
Leave a Reply. |