-
Notifications
You must be signed in to change notification settings - Fork 10
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
standardize install paths and path resolving methods for version managers #3
Comments
I'm afraid I don't understand the motivation. Both, installation and path management separated, would have to be part of a cross platform version manager anyhow, right? How is standardization useful beyond a single version manager (you propose multiple version managers)? A question I'd ask myself as a down-stream dev: If I have to install a version manager separately that adheres to a standard anyway, why couldn't the official package supply the necessary cli by default? |
I agree that separating the concerns (within a converged solution) of path management from installing versions makes sense and would allow for easier portability. |
I think it would be great to document standard paths in the @MylesBorins @ljharb Can we try to assemble a complete-ish list here and then someone can PR it into the main |
That sounds great! Starting by documenting existing paths is a great plan. However, I think what we should settle on eventually is a single standard path convention for "where node goes", by version, both for "system" and for "within a single user" - other tools can do the work to conform to that, and it can be clearly documented that installing node elsewhere comes with caveats. |
If the project standardized a way of managing paths + where files are stored we could allow for multiple version managers to work together transparently.
edit: this could also allow an electron based installer and command line application to both work with the same source
edit 2: it may also be possible to separate the concerns of path management from installing packages. This way we could have a platform agnostic method for installing files, and a platform or shell specific way of managing the path. /cc @ljharb
The text was updated successfully, but these errors were encountered: