Skip to content

Instantly share code, notes, and snippets.

@keshavab
Created September 11, 2015 17:07
Show Gist options
  • Select an option

  • Save keshavab/540408b5f51d1c01113a to your computer and use it in GitHub Desktop.

Select an option

Save keshavab/540408b5f51d1c01113a to your computer and use it in GitHub Desktop.
n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment