Coder Social home page Coder Social logo

Comments (10)

olegantonyan avatar olegantonyan commented on July 21, 2024 12

I chose nodenv over nvm because it doesn't freeze my shell on start up (~1 sec). There are tons of such issues with nvm https://www.google.com/search?q=nvm+slow+startup&gws_rd=cr&hl=en&num=30

from nodenv.

AlJohri avatar AlJohri commented on July 21, 2024 4

Would still love to see this blog post :)

On another note, here's a similar project that also uses shims: https://github.com/asdf-vm/asdf with https://github.com/asdf-vm/asdf-nodejs

from nodenv.

ouchxp avatar ouchxp commented on July 21, 2024 4

Not entirely related to this, but I have wrote a plugin that can detects the node version based on .nvmrc. Hope this helps for people trying to migrate from NVM
https://github.com/ouchxp/nodenv-nvmrc

from nodenv.

jasonkarns avatar jasonkarns commented on July 21, 2024 3

Feedback welcome: https://github.com/nodenv/nodenv/wiki/Why-nodenv%3F

from nodenv.

jasonkarns avatar jasonkarns commented on July 21, 2024 1

Yes! A "why choose nodenv" blog post is been in draft status forever.

from nodenv.

jasonkarns avatar jasonkarns commented on July 21, 2024 1

@FranklinYu yeah, that should probably be removed or re-worded. Especially because nodenv itself is bash-only. That note was originally made while I was just researching the differences between the various tools.

from nodenv.

AlJohri avatar AlJohri commented on July 21, 2024

spoke too soon, I see there's already something in the Wiki. Still would be great to link it in the README. Thanks!

screen shot 2016-12-29 at 7 28 11 pm

from nodenv.

joshmorel avatar joshmorel commented on July 21, 2024

In the wiki it points out that many don't work on Windows. Does this work on Windows? It would at least need Cygwin and I could try it but any comment from the maintainers? There's nothing on the main page about Windows. Also, just to note that n doesn't do separate node_modules per version - a big issue IMHO right now.

from nodenv.

jasonkarns avatar jasonkarns commented on July 21, 2024

No, nodenv doesn't work on windows, though I'd be surprised if it didn't work with mingw/msys. (I'd also expect it to work with cygwin but I've never tested.) Also curious if nodenv would work with the new bash shell on windows, but again, never tested.

nvs is a new version manager that does work with windows.

I think you make a great point about separate node_modules. How each version manager handles npm and global node modules is a huge differentiator. (Not only does n share node_modules, npm is reinstalled each time you switch. So you can't peg a specific version of npm to a node version!)

from nodenv.

FranklinYu avatar FranklinYu commented on July 21, 2024

In the wiki it points out that many don't work on Windows.

I’m also confused about this. If those libraries don’t work in native Windows environment but Cygwin or WSL is supported, then we don’t need to mention this at all, because most of those are written in Bash and inherently won’t work in PowerShell or CMD.exe. If any of them don’t even support Cygwin or WSL (the developer explicitly rejects to support) then we should explicitly point out which one, and provide link to that statement of “won’t fix”.

I could have just edited that Wiki page, but I thought it would be more polite to discuss here first.

from nodenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.