I’ve been through this a couple times now because I wanted to move my NPM global install location to a new spot where I wasn’t constantly dealing with permissions issues and both times it was a bigger hassle than it probably should have been.