-
-
Save giriannamalai/2e65c21f2a6bb4338ab1f9b459c8eb63 to your computer and use it in GitHub Desktop.
Creates a symlink to /usr/bin/node after using nvm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
sudo rm -f /usr/bin/node | |
sudo rm -f /usr/bin/npm | |
sudo ln -s $(which node) /usr/bin/ | |
sudo ln -s $(which npm) /usr/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment