Nvm is installed , still it shows unknown command

I installed nvm from add/remove software, now when i try to run any nvm command it shows:
unknown command: nvm

Use pacman not pamac.

You need to source nvm before you can use it. Do one of the following
or similar depending on your shell (and then restart your shell):

  echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.bashrc
  echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.zshrc

You can now install node.js versions (e.g. nvm install 10) and
activate them (e.g. nvm use 10).
~~
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.