We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
windows 10 WSL2 w/ unbuntu 20.04
nvm debug
nvm ls
nvm
Tired to add nvm to the plugin array on my /.zshrc file, save close and reboot term. put nvm install in term but it didn't recognize the nvm command
installed via git clone then altered the script
nvm was then cloned and when put cd /.nvm in term noted it was saved in master not HOME
PATH
changed: 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
to: export NVM_DIR="$master/.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
The text was updated successfully, but these errors were encountered:
I have no idea what $master is, but $HOME should be your user directory. The $ denotes a variable, not a hardcoded string.
$master
$HOME
$
Are you still unable to get nvm to work when you fix the export line?
export
Sorry, something went wrong.
It only worked once I changed it. I ended up uninstalling zsh and going through bash to download everything.
If it's working, can you fill out the nvm debug part of the issue template?
No branches or pull requests
Operating system and version:
windows 10 WSL2 w/ unbuntu 20.04
nvm debug
output:nvm ls
output:How did you install
nvm
?Tired to add nvm to the plugin array on my /.zshrc file, save close and reboot term. put nvm install in term but it didn't recognize the nvm command
What steps did you perform?
installed via git clone then altered the script
What happened?
nvm was then cloned and when put cd /.nvm in term noted it was saved in master not HOME
What did you expect to happen?
Is there anything in any of your profile files that modifies the
PATH
?changed:
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
to:
export NVM_DIR="$master/.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
The text was updated successfully, but these errors were encountered: