I'm only able to access nvm using bash, I'm trying to add it to my zshrc but unable to find it's install location.
I tried,
$ which nvm
but that does nothing.
I'm only able to access nvm using bash, I'm trying to add it to my zshrc but unable to find it's install location.
I tried,
$ which nvm
but that does nothing.
The README for nvm here has some important hints for you. When installing manually, the doc suggests that you can add the following to your .zshrc file:
I suspect you are missing the first line. What does
echo $NVM_DIR
show you?But even better, if you are using a plugin manager, such as Oh My Zsh (and you should be), you can simply install the zsh-nvm plugin by adding "nvm" to your list of plugins.