Last active
December 23, 2016 11:32
-
-
Save fvdm/26d7460558a34a4e4abfc98a68251012 to your computer and use it in GitHub Desktop.
Add to bottom of .bashrc, .bash_profile or .profile - https://frankl.in/code/nvm-slowing-down-terminal
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
# Add latest node bin to $PATH | |
# Use with `nvm unalias default` to speed up shell init | |
# https://frankl.in/code/nvm-slowing-down-terminal | |
nodepath=$NVM_DIR/versions/node/`ls $NVM_DIR/versions/node/ | cat | tail -n 1`/bin | |
export PATH=$PATH:$nodepath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment