Describe the solution you'd like
I am always using nvm to manage NodeJS version and I have got used to it now. So I am wonder whether wlinux can give an option for install NodeJS using nvm besides n when run wlinux-setup.
Describe alternatives you've considered
I know I can simply choose not to install NodeJS and install nvm later, but I think add nvm to wlinux setup is not a bad idea.
Can I ask why you prefer nvm over n?
Just I said. I am just get used to it.
Also, nvm doesn't required NodeJS to install (If n have to install without NodeJS it have to compile the code to get the binary). When I'm using nvm, I can run npm i -g without sudo. nvm can also separate the packages which installed by npm i -g from different Node version.
We are looking at a new method of managing multiple dev environments and versions.
We could look at including nvm in this too.
What do you think @grufwub?
I added support for this under my current virtual-lang-envs project :+1: we just need to figure out what's happening with this
update on the situation, is in PR right now: https://github.com/WhitewaterFoundry/pengwin-setup/pull/188
This is currently being tested in dev branch and works well. Expect to be pulled into master branch in next week or so.
Most helpful comment
Just I said. I am just get used to it.
Also,
nvmdoesn't required NodeJS to install (Ifnhave to install without NodeJS it have to compile the code to get the binary). When I'm usingnvm, I can runnpm i -gwithoutsudo.nvmcan also separate the packages which installed bynpm i -gfrom different Node version.