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

Published: 10 September 2024
on channel: Tech Nursery
340
4

-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


On this page of the site you can watch the video online error -bash: nvm: command not found install node js using nvm solved with a duration of online in good quality, which was uploaded by the user Tech Nursery 10 September 2024, share the link with friends and acquaintances, this video has already been watched 340 times on youtube and it was liked by 4 viewers. Enjoy your viewing!