Comments (10)
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.
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.
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.
Feedback welcome: https://github.com/nodenv/nodenv/wiki/Why-nodenv%3F
from nodenv.
Yes! A "why choose nodenv" blog post is been in draft status forever.
from nodenv.
@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.
spoke too soon, I see there's already something in the Wiki. Still would be great to link it in the README. Thanks!
from nodenv.
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.
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.
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)
- Script to install/update nodenv on a shell (linux/mac) HOT 1
- How do things like yarn installs work within nodenv? HOT 3
- Support Corepack HOT 6
- Question: how to best run globally installed npm module? HOT 4
- Question: How would I go about removing nodenv and all node instances from a server? HOT 1
- Advice: nodejs latest release does not appear in $nodenv --list HOT 4
- Suggestion/Feature: LTS Version marker on the install list HOT 2
- strange undesired behavior when installing global dep HOT 1
- GPL License Compliance Issue HOT 2
- homebrew formula broken HOT 1
- Installing global package with yarn will not yield to a shim after rehash HOT 2
- `nodenv install` tries to use python and fails on MacOS Monterey 12.3 and later and fails HOT 6
- Support pnpm HOT 5
- In addition to .node-version, support .tool-versions and .nvmrc HOT 4
- Download fails with no error code
- No Debian / Ubuntu package available in the official repositories HOT 4
- Create Debian installation packages HOT 1
- Not respecting makefile HOT 2
- RBENV reference in the README HOT 2
- Documents HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodenv.