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

Опубликовано: 10 Сентябрь 2024
на канале: 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


Смотрите видео error -bash: nvm: command not found install node js using nvm solved онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tech Nursery 10 Сентябрь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 225 раз и оно понравилось 1 людям.