Pengwin: Give users the option to install NodeJS with nvm

Created on 20 Dec 2018  路  6Comments  路  Source: WhitewaterFoundry/Pengwin

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.

Feature Enhancement Implemented To Implement Undergoing Testing

Most helpful comment

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.

All 6 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rdmueller picture rdmueller  路  3Comments

laurin1 picture laurin1  路  4Comments

mikart143 picture mikart143  路  5Comments

sharpninja picture sharpninja  路  3Comments

juliosegarra picture juliosegarra  路  3Comments