direnv and .envrc can specify version? #1258
Unanswered
PorcoRosso85
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://github.com/jdx/rtx?tab=readme-ov-file#direnv
After reading here, I recognized and configured the current state of rtx as follows
rtx install node@lts
first, which resulted in ver. 20 being installedrtx activate
does not work when .envrc is automatically loadeduse_rtx.sh
and put the runtime versionRTX_NODE_VERSION=19.0.0
in the.envrc
.However, in the directory where
.envrc
is loaded, the environment variable is updated to ver. 19, butnode -v
outputs ver. 20.Am I forgetting something?
Beta Was this translation helpful? Give feedback.
All reactions