'zsh command not found [ nvm command not found after install successfully in macOs ]

brew install nvm

I am installed successfully NVM in my macOs. But also then after I got NVM command not found error.



Solution 1:[1]

Reinstall nvm again.

brew reinstall nvm

create the .zshrc file.

vi ~/.zshrc

Paste code which I am write here

# NVM Akash Stuff
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Aakash L.