![]() ![]() If you were to run node -version after each of the aforementioned commands, you’d see the most recent version of the respective major version. Once installed, it will also set the version you just installed as the active version. Upon running each command, nvm will download the version of Node.js from the official website and install it. You can also install Node version 8 and version 12: OutputDownloading and installing node v0.10.48. Now that you have nvm installed, you can install a few different versions of Node.js:Īfter running this command, this is the output that will display in your terminal app: Step 2 - Installing Multiple Node.js Versions With nvm installed, you can now install and work with multiple versions of Node.js. To do this, reopen your terminal app and run the following commands: zshrc depending on your operating system. You will also need to add a couple of lines to your bash shell startup file. Once installed, close your terminal application for changes to take effect. If you prefer wget, you can run this command: You can install it manually by running the following command: To get started, you will need to install the Node Version Manager, or nvm, on your system. To install Node on macOS, follow the steps outlined in this How to Install Node.js and Create a Local Development Environment on macOS tutorial.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |