Skip to content
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

Would it be better to use git clone, git checkout VERSION? #11

Closed
julianw opened this issue Dec 12, 2010 · 1 comment
Closed

Would it be better to use git clone, git checkout VERSION? #11

julianw opened this issue Dec 12, 2010 · 1 comment

Comments

@julianw
Copy link

julianw commented Dec 12, 2010

Just thought it maybe better to use git clone, git checkout VERSION. So you don't need to download the archive of each version installed.

@creationix
Copy link
Collaborator

Then that would add a dependency on git. Not everyone has that installed. You can easily make your own version of nvm that does that if you want though.

Also the archive is only the most recent files. Doing a full git clone grabs all history as well. For people only installing a version at a time, the tarball is faster.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants