I was having an issue pushing a git commit, so I ran sudo ln -sf /usr/bin/nodejs /usr/local/bin/node
now when running node -v
or nodejs -v
terminal tells me -bash: node: command not found
.
How can I 'undo' the sudo ln -sf
I was having an issue pushing a git commit, so I ran sudo ln -sf /usr/bin/nodejs /usr/local/bin/node
now when running node -v
or nodejs -v
terminal tells me -bash: node: command not found
.
How can I 'undo' the sudo ln -sf
Try this:
sudo unlink /usr/bin/nodejs