Skip to content

Support multiple activated versions with hierarchical preference #153

@gschaffner

Description

@gschaffner

It would be useful if users could specify multiple versions to have active at once like you can with pyenv. See here for documentation (Ctrl+F "advanced").

For example, consider if a package that provides ~/.nodenv/versions/11.1.0/bin/program is installed but no program is installed to ~/.nodenv/versions/12.0.0/bin/program. Setting nodenv global 12.0.0 11.1.0 could allow the node and npm shims to call Node 12.0.0 while allowing the program shim to fall back and call 11.1.0 since program is not present at ~/.nodenv/versions/12.0.0/bin/program.

Thanks for the great work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions