![]() If you loved the article and would like to support me, you can buy me a coffee. To use a specific node version: nvm use 14.17.0įeel free to reach out to me on Twitter and connect with me on LinkedIn. Click on 'Download Now' In the nvm-windows repository Readme, click on 'Download Now': This will open a page showing different NVM releases. You can install a specific version of node: nvm install 14.17.0 nvm-windows provides a management utility for managing Node.js versions in Windows. You can check all the installed versions using the following command nvm lsĬheck the version of node and npm you are running: node -version Install the latest version nvm install node Let's install the LTS and latest stable version of Nodejs, you can also choose one of those if you prefer, but believe me, it's super simple to switch between different node versions using nvm. ![]() (If you get an error command not found, restart your shell and try again.) Verify your installation using command -v nvm When a new NVM version is released, you need to replace the v0.38.0 URL segment with the new one. If you already have a previous NVM version, it will overwrite the files and let you use the new one in its place. Note: to download the latest version of npm, on the command line. ( Note: instead of v0.38.0 Use the latest version of nvm from GitHub) The command above will install NVM version 0.38.0 to your computer. We strongly recommend using a Node version manager like nvm to install Node.js and npm. If you don't already have it, install curl sudo apt-get install curl This also means you can easily switch node and npm versions with a single command and that comes in handy. Nvm certainly has its advantages as it allows you to easily install and manage multiple node versions on your system. In this tutorial, we will use node version manager or nvm to install and manage node versions. ( NOTE: Although this tutorial demonstrates WSL 2/Ubuntu, this installation is primarily for Linux)
0 Comments
Leave a Reply. |