1👍
✅
Step 1: Check the path and verify if you are able to see the node in the path.
Step 2: Close the terminal and open a new terminal and do the step 1 again
Step 3: If still not available in path, go to the node installed folder and try to update the path variable with the node location.
Step 4: Do step 1 again.
Source:stackexchange.com