After installing node using nvm, the node command is not found

359 Views Asked by At

enter image description here

1.I installed nvm to manage node versions(nvm -v:0.39.7)

2.And installed node by nvm

But, When I run nvm use 18 or 21 in terminal, follow this wrong:

nvm current: none

node -v: zsh: bus error node -v

Thanks for your help

Tried reinstalling nvm and node

1

There are 1 best solutions below

0
Java wanna bee On

you have to run . ~/.bash_profile or . ~/.bashrc to pick up the nvm command