Closed kotenok2000 closed 8 months ago
ubuntu 22.04 wsl1
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
nvm ls
nvm
I tried to update nvm with wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
user@DESKTOP-P57624Q:~$ wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash => nvm is already installed in /home/user/.nvm, trying to update using git => => Compressing and cleaning up git repository
=> nvm source string already in /home/user/.bashrc => bash_completion source string already in /home/user/.bashrc => Close and reopen your terminal to start using nvm or run the following to use it now:
export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion user@DESKTOP-P57624Q:~$ nvm --version 0.35.3
PATH
Did you close and reopen your terminal, as the instructions explicitly tell you to do?
Operating system and version:
ubuntu 22.04 wsl1
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
output:nvm ls
output:How did you install
nvm
?curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
What steps did you perform?
I tried to update nvm with wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
What happened?
user@DESKTOP-P57624Q:~$ wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash => nvm is already installed in /home/user/.nvm, trying to update using git => => Compressing and cleaning up git repository
=> nvm source string already in /home/user/.bashrc => bash_completion source string already in /home/user/.bashrc => Close and reopen your terminal to start using nvm or run the following to use it now:
export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion user@DESKTOP-P57624Q:~$ nvm --version 0.35.3
What did you expect to happen?
Is there anything in any of your profile files that modifies the
PATH
?