Skip to content

Instantly share code, notes, and snippets.

@fvdm
Last active December 23, 2016 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fvdm/26d7460558a34a4e4abfc98a68251012 to your computer and use it in GitHub Desktop.
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
# 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