3 ms·
As mentioned in my other comment already, it's great to see someone is trying to provide a better alternative to asdf! From what I can tell by looking at the d
by codethief 4y ago
As mentioned in my other comment already, it's great to see someone is trying to provide a better alternative to asdf!
From what I can tell by looking at the documentation of `rtx install`,
rtx install # installs all runtimes specified in .tool-versions for installed plugins
and of `rtx plugins install`,
install a plugin
note that rtx automatically can install plugins when you install a runtime
e.g.: `rtx install nodejs@18` will autoinstall the nodejs plugin
I take it there is still no way in rtx to simply install all plugins and runtimes listed in .tool-versions, without listing them one by one on the command line? Put differently, I would expect `rtx install` to install all runtimes specified in .tool-versions, including any plugins that are not installed yet.
Would this be something that you would consider adding? I'm asking because not being able to install all plugins mentioned in .tool-versions automatically has been my biggest gripe with asdf.
- jdxcode 4y agoI actually had this as the default behavior of `rtx install` but it felt a bit wild for it to just go out and download a bunch of stuff. I feel like it’s nice to have a bit more control over which runtimes are and are not managed by rtx. That said, I was thinking about this yesterday and that it’s currently painful to have to type out each plugin one by one. I added this ticket for making `plugins install` default to installing all plugins in the local tool-versions: https://github.com/jdxcode/rtx/issues/50 https://github.com/jdxcode/rtx/issues/50 What do you think? Is that discoverable and useful enough? I could go a step further and add a `--plugins` argument to install or something.
- jdxcode 4y agoI just added `rtx install --all` which installs all plugins and all runtimes. It's in v1.3.0