Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvm dont use default version in new terminals - VScode terminal #71

Open
luizwhite opened this issue Oct 13, 2020 · 3 comments
Open

nvm dont use default version in new terminals - VScode terminal #71

luizwhite opened this issue Oct 13, 2020 · 3 comments

Comments

@luizwhite
Copy link

Hi!
I don't understand too well the zshrc config file, or PATH settings, so be patient with me :)
I just want to know why VScode dont use default version in new terminals

I use WSL2 on Windows, and its extension for VScode

I checked a lot of solutions, including:

  • node version installed before nvm -> no
  • i tried nvm alias default stable and nvm alias default node, and it really updates my nvm, but dont change the version in new sessions
  • i tried nvm deactivate

After that, I realized that my "Windows Terminal" (the new one) remembers the default node version in my WSL distro, but my VScode terminal dont
How is that possible?

Can anyone help me with this?
I dont really even know how to start looking for this problem..

(sry my bad english)

@luizwhite
Copy link
Author

You may close this, after reboot, the vscode terminal started to persist the default node version

@tjx666
Copy link

tjx666 commented Oct 19, 2020

not only VSCode terminal, also in iterm2

@MagnusBrzenk
Copy link

I am getting this problem. I am loading with plugins=(git zsh-autosuggestions zsh-nvm) in my .zshrc file, and my new window panes in tmux, and new tabs in iterm2, always default to node 14, while I want node 16. I have tried all sorts of combinations like nvm use default 16. Nothing works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants