volta-cli / rfcs

RFCs for changes to Volta
Other
17 stars 14 forks source link

'volta use' to replace 'install' and 'pin' #52

Open charlespierce opened 7 months ago

charlespierce commented 7 months ago

Proposal for a new command volta use to replace the behavior of volta install and volta pin, while making the experience more intuitive and easier for users.

Rendered

charlespierce commented 2 months ago

Suggestion from the main Volta repo: Having volta use be an alias for this combined command would be useful for people switching from / used to nvm, since nvm use is used to change Node versions. It's not exactly the same semantics, so we might want to consider how different it is and how difficult it will be to transition, but I think if we combine the commands it would be a good time to look at making use another alias for the same command.

chriskrycho commented 2 weeks ago

I definitely don’t have an objection to use, @charlespierce; do you remember why we didn’t choose that in the first place? (I believe that decision preceded my working on the project, but it has been a minute, so one way or another I simply do not recall.)