AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
How to install nvm on windows9/7/2023 ![]() ![]() Nvm use 10.13.0 and or nvm use 10 either one work. To tell nvm you want to use node version 10.13.0 you use the command nvm use bashrc but if it does not then you can add this to your shell RC File export NVM_DIR="$Īfter this is done every time you do npm install -g package it will be installed in your home folder.Īs of right now, you can’t do any npm or node as you must tell nvm you want to use a version. It should have already added some lines to your. Wait for it complete as it may take a moment to install and download. If you use another shell you should be able to replace it. This will download the install script and run it with bash. Run this command as your current user curl -o- | bash Installing NVM (Can also be used for upgrading NVM) We will be using Ubuntu 18.04 for this install guide you should be able to google if you have a different OS installed ? NVM is useful for the developer as it allows you to run both the LTS and latest node but be able to switch from either or depending on the project. With WSL which you can find out how to enable and even install LAMP Stack here. ![]() If you want to connect with me, I’m on Twitter and LinkedIn.As you know Microsoft in the last few years have made it easier than ever for developers to run Linux on top of Windows 10. You can learn more about nvm-windows here, and for the latest install instructions, check out this link. If you want to use an NVM-like functionality on windows, you'll need to use a package like nvm-windows. "$NVM_DIR/nvm.sh" # This loads nvm How to install nvm on WindowsĪs with most things, Windows is a little different. So run this command next, so that you can get started using it immediately: export NVM_DIR="$( & \. Alternatively, you can use wget to install nvm: wget -qO- | bashĪfter running one of these commands, you need to add NVM to your bash profile. ![]() If you want to install a different version of nvm, you can replace the v0.39.1 with whatever version you'd like to use. On Linux or Mac, to install nvm, you can use the curl command: curl -o- | bash Using it, you can upgrade and change the version of Node.js you're running on your computer, and change the Node.js version. NVM is used to manage the versions of Node.js installed on your computer, so it's a really useful tool. If you don't have it installed already, in this quick guide we'll show you how to. ![]()
0 Comments
Read More
Leave a Reply. |