Skip to content

Use rtx instead of pyenv #1101

Open
Open
@astrojuanlu

Description

Is your feature request related to a problem? Please describe

I'm always frustrated with pyenv shims. See for example the conversation in pyenv/pyenv#1112

Describe the behaviour you'd like

A runtime selector that does not use shims.

Describe alternatives you've considered

https://github.com/jdxcode/rtx

No shims - shims cause problems, they break which, and add overhead. By default, rtx does not use them—however you can if you want to.
...
Unlike asdf which uses shim files to dynamically locate runtimes when they're called, rtx modifies PATH ahead of time so the runtimes are called directly. This is not only faster since it avoids any overhead, but it also makes it so commands like which node work as expected. This also means there isn't any need to run asdf reshim after installing new runtime binaries.

Additional context

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions