You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
Having a latest (or equivalent) endpoint for the NVM install script would be helpful, so users can always install the most recent stable release without manually specifying the version number.
Context / Use Case
Newcomers to Node.js or NVM: Many beginners find it intimidating to track NVM versions. A single command like:
Educational environments: In high schools or beginner-friendly workshops, it's challenging for educators to constantly update their materials to reflect the newest version of NVM. Having a latest URL would allow instructions to remain valid for a long time.
Ease of updates: For users who just want to stay on the latest stable release without worrying about version details, a latest endpoint could serve that purpose.
Potential Implementation
Provide a stable redirect/endpoint https://raw.githubusercontent.com/nvm-sh/nvm/latest/install.sh that always points to the script corresponding to the latest released version (non-pre-release).
When a new version is released, the repository maintainers update this pointer automatically.
Benefits
Reduces friction for beginners: They don’t have to look up specific version numbers.
Minimizes confusion: Users can install NVM in one step without inadvertently installing an old version.
Less overhead for documentation: Third-party tutorials, articles, and classrooms can consistently link to latest.
Conclusion
Offering a latest endpoint for NVM’s install script would significantly lower the barrier to entry for newcomers, reduce documentation churn, and streamline installation.
Thanks for considering this feature request, and for all your hard work maintaining NVM!
The text was updated successfully, but these errors were encountered:
This is quite intentionally not provided, as nobody should ever be blindly updating to the latest version of things without regard for breaking changes.
Follow #400 for self-updating; duplicate of #3473.
Summary
Having a
latest
(or equivalent) endpoint for the NVM install script would be helpful, so users can always install the most recent stable release without manually specifying the version number.Context / Use Case
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/latest/install.sh | bash
latest
URL would allow instructions to remain valid for a long time.latest
endpoint could serve that purpose.Potential Implementation
https://raw.githubusercontent.com/nvm-sh/nvm/latest/install.sh
that always points to the script corresponding to the latest released version (non-pre-release).Benefits
latest
.Conclusion
Offering a
latest
endpoint for NVM’s install script would significantly lower the barrier to entry for newcomers, reduce documentation churn, and streamline installation.Thanks for considering this feature request, and for all your hard work maintaining NVM!
The text was updated successfully, but these errors were encountered: