-
-
Save chrisidakwo/7caf1a2e285ad90d7583b10e563c6445 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