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

Suggestion about your link for install.sh #3465

Closed
emilas44 opened this issue Nov 12, 2024 · 1 comment
Closed

Suggestion about your link for install.sh #3465

emilas44 opened this issue Nov 12, 2024 · 1 comment

Comments

@emilas44
Copy link

This is actually not an issue, but a suggestion about your link for install.sh

Instead of doing this:

https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh

make one folder there on that server called 'latest' so the link would look like this:

https://raw.githubusercontent.com/nvm-sh/nvm/latest/install.sh

and then just always symlink the latest script into it when you make one.

Then we developers don't have to change our bash scripts to download the nvm.

Thank you in advance, and hope you will consider it.

@ljharb
Copy link
Member

ljharb commented Nov 12, 2024

This is intentionally not made easy. Just like package.json, you should be changing something every time you get a different version.

Duplicate of #400.

@ljharb ljharb closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2024
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