Nvm: zsh: command not found: nvm ?

Created on 13 Jul 2020  路  6Comments  路  Source: nvm-sh/nvm

Operating system and version:

  • Debian GNU/Linux 10 (buster)

    nvm debug output:



nvm ls output:



How did you install nvm?

  • Readme -> curl . . .

What steps did you perform?

What happened?

What did you expect to happen?

Is there anything in any of your profile files that modifies the PATH?

If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?



Any command I execute after installation, the output on the screen is always : command not found: nvm


profile detection zsh

All 6 comments

It's likely the installation script isn't properly detecting your profile file.

Do you have a ~/.zprofile or ~/.zshrc file?

It's likely the installation script isn't properly detecting your profile file.

Do you have a ~/.zprofile or ~/.zshrc file?

I checked, but none of the files exist, what should I do ?

touch ~/.zprofile, and then add the lines indicated here to it. Then relaunch your shell.

I added the following line to the .zshrc file plugins=(... nvm)

Great, did that fix it?

Great, did that fix it?

Yes.

Was this page helpful?
0 / 5 - 0 ratings