Schniz / fnm

🚀 Fast and simple Node.js version manager, built in Rust
https://fnm.vercel.app
GNU General Public License v3.0
17.5k stars 444 forks source link

why dose the path is random ? how can i get a frozen path ? like nvm `/Users/xxx/.nvm/versions/node/v18.15.0/bin/node` #1087

Open shifenhutu opened 8 months ago

shifenhutu commented 8 months ago

here is my install steps:

1, brew install fnm 2,add eval "$(fnm env --use-on-cd)" to ~/.zshrc 3, source ~/.zshrc 4, fnm install --lts 5, which node


hi

why dose the path is random ?

how can i get a frozen path ? like nvm /Users/xxx/.nvm/versions/node/v18.15.0/bin/node

thank you very much

image
thewh1teagle commented 1 month ago

+1 for this. it causing issues on Windows with Cargo + Rust Analayzer.

https://github.com/rust-lang/rust-analyzer/issues/17819