error -bash: nvm: command not found install node js using nvm solved

Published: 10 September 2024
on channel: Tech Nursery
225
1

-bash: nvm: command not found



1. curl o https://raw.githubusercontent.com/nvm... | bash






2. source ~/.bashrc # for Bash users
or
source ~/.zshrc # for Zsh users



3. nvm --version


-------------------------------------------------------------------------------------------------------
If the error still occurs, manually add NVM to your shell profile. Open your shell configuration file (~/.bashrc, ~/.zshrc, or ~/.bash_profile) and add the following line

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm




source ~/.bashrc
or
source ~/.zshrc depending on your shell


Watch video error -bash: nvm: command not found install node js using nvm solved online without registration, duration hours minute second in high quality. This video was added by user Tech Nursery 10 September 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 225 once and liked it 1 people.