219 stable releases

2024.0.0 Dec 31, 2023
2023.12.40 Dec 28, 2023
2023.11.9 Nov 29, 2023
1.35.8 Aug 1, 2023
0.1.1-alpha.1 Jan 15, 2023

#444 in Command line utilities

Download history 105/week @ 2024-01-08 53/week @ 2024-01-15 93/week @ 2024-01-22 46/week @ 2024-01-29 45/week @ 2024-02-05 28/week @ 2024-02-12 55/week @ 2024-02-19 46/week @ 2024-02-26 2593/week @ 2024-03-04 130/week @ 2024-03-11 28/week @ 2024-03-18 18/week @ 2024-03-25 65/week @ 2024-04-01 23/week @ 2024-04-08 66/week @ 2024-04-15 15/week @ 2024-04-22

169 downloads per month

MIT license

1MB
24K SLoC

Rust 19K SLoC // 0.0% comments BASH 4.5K SLoC Ruby 30 SLoC // 0.1% comments
rtx logo
Crates.io GitHub GitHub Workflow Status Discord

The front-end to your dev env.

What is it?

30 Second Demo

The following shows using rtx to install different versions of node. Note that calling which node gives us a real path to node, not a shim.

demo

Quickstart

Install rtx on macOS (other methods here):

$ curl https://rtx.jdx.dev/install.sh | sh
$ ~/.local/share/rtx/bin/rtx --version
rtx 2024.0.0

Hook rtx into your shell (pick the right one for your shell):

# note this assumes rtx is located at ~/.local/share/rtx/bin/rtx
# which is what install.sh does by default
echo 'eval "$(~/.local/share/rtx/bin/rtx activate bash)"' >> ~/.bashrc
echo 'eval "$(~/.local/share/rtx/bin/rtx activate zsh)"' >> ~/.zshrc
echo '~/.local/share/rtx/bin/rtx activate fish | source' >> ~/.config/fish/config.fish

Install a runtime and set it as the global default:

$ rtx use --global node@20
$ node -v
v20.0.0

Full Documentation

See rtx.jdx.dev.

Dependencies

~35–54MB
~1M SLoC