How to install NVM on windows

Today’s blog post is going to be a short one based on little issue I just had while setting up my environment to work with a new JS framework. Redwood JS which you can get at https://redwoodjs.com/, looking forward to checking it out, it seems to be a good one to deploy quick MVP’s.

My setup is on Windows 11 and sometimes I need a specific Node version for work so managing multiple node versions is a must for me.

For this task I use NVM for windows.

I tried a few ways to go about installing NVM for windows(you can get it at https://github.com/coreybutler/nvm-windows ) and sometimes I would get an “access denied” or “NVM access denied” error when trying to run it on the command line.

The way that work best for me was as following:

  1. On windows 11 on the search field at the bottom on the taskbar look for “use developer features”.
  2. Enable developer mode and confirm on the pop up.
  3. Download NVM for windows installer https://github.com/coreybutler/nvm-windows/releases
  4. Before installing it I created a folder in the C:\ drive called NVMnodeInstalls.
  5. Now I proceeded to install NVM for windows, during the installation process it ask me for the folder where I want to install the Node versions I will be working with, here is where I select the folder I just created, by doing thing it will not give me “access denied” error nor ask me for permissions any time I do “NVM use xxx”.

And that should get you up and running. In my case I needed Yarn so I did “npm install -g yarn” and if that is your case keep in mind that you would have to do this with every node version you manage under NVM for instance if you have node 14.0.x and need yarn you have to install it there also.

I hope this helps, if you run into any problems, let me know in the comments and I will try to help.

Related Posts

phone as alarm

How to change alarm sounds on iPhone

To change the sound of the alarm on your iPhone you can do it in a few steps, open the Clock app and tap the Alarm tab, Tap Edit, Tap the alarm, make your changes, then tap Save.

Cookies on a phone

How to clear cookies on iPhone

To clear you cookies on the iPhone, go to Settings -> Safari -> Advanced > Website Data, then tap Remove All Website Data.

An apple in a TV

How to delete app on Apple tv

Deleting an app on the AppleTV is thankfully very easy, select the app you want, tab the touch sensitive area, press the play/pause button and then select “Delete”. And that is it.

A tablet

How to change iPad name

Changing the name of your iPad is a simple process that can be completed in just a few steps. Here’s how to do it:
Go to “settings” > “General” > “About” > change the name there.

a projector

How to link a Google slide to another slide

Linking slides can be a great way to create a seamless presentation, Here I will show you how to do it in 5 easy steps. Select Image or text to put the link on, CTRL K or Command k, Link and select the slide you want to link to.

Document

How to search for a word on Google docs

In windows press “CTRL + f” and It will pop up a little search windows on the top right

Leave a Reply

Your email address will not be published. Required fields are marked *