volta-cli / volta

Volta: JS Toolchains as Code. ⚡
https://volta.sh
Other
10.96k stars 230 forks source link

Document how to update volta version #1234

Open runspired opened 2 years ago

runspired commented 2 years ago

Currently the docs don't have anything on the preferred way to update the version. I'm assuming re-running the curl command is the preferred way, though it's not clear if this would add volta into the path a second time.

abdonrd commented 2 years ago

Any news here? Thanks!

charlespierce commented 2 years ago

@abdonrd No updates on any docs changes, but the recommended way to update is to run the installer again (cURL command on MacOS/Linux or the new MSI installer on Windows). The installers are smart enough to upgrade if there's an existing installation already set up.

williamukoh commented 1 month ago

Can this just be made official (or stated clearly) in the docs?

dear-leader commented 1 month ago

It would be even better if Volta just automatically checked if a more up to date version existed and prompted the user to update. But if nothing else, it seems like something that should be mentioned in the docs.

I only figured out the proper way to update by searching and stumbling across this issue.