Skip to content

Instantly share code, notes, and snippets.

@chulkilee
Created December 18, 2013 03:03
Show Gist options
  • Save chulkilee/8016648 to your computer and use it in GitHub Desktop.
Save chulkilee/8016648 to your computer and use it in GitHub Desktop.
#!/bin/bash
for man in 1 3 5 7; do
ln -sf /usr/local/lib/node_modules/npm/man/man${man}/* /usr/local/share/man/man${man}
done
ln -sf /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm
npm update npm -g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment