-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow downloading versions from a Node.js mirror #32
Comments
Interesting: there's already #27, but that's not what you're talking about. Do you think it is a better fix for the problem? 😄 eval `fnm env --node-dist-url="https://npm.taobao.org/dist"`
# then everything as expected
fnm install v11.9.0 |
Yes! that would be better. 😀 I use |
Amazing. Can you please edit the title of this issue then? Something like "Allow downloading versions from a Node.js mirror" 😄 |
Done. Thanks :) |
Also, to keep it simple I don't think it's worth it to implement a new option (here |
I generally agree about this, but I somehow liked the idea of making environment variables an internal implementation (since we already have a call that generates environment variables). It feels like a typed interface 😜 That being said, it can always be set manually (right after/before the |
Yeah, that makes sense. |
This is a feature request.
When I already have
~/.fnm/downloads/v11.9.0.tar.xz
exists on disk, if I runfnm install 11.9.0
, I would like fnm to try to unarchive it first and starting to download the fresh package only if unarchive exits with none zero status.I use Taobao's node dist mirror. It's faster than Nodejs's 1st party one since I'm in China.(Taobao is a Alibaba company)
As a example:
The text was updated successfully, but these errors were encountered: