492 B
492 B
NPM
- Install NPM packages globally without requiring sudo. (source)
- Save exact version instead of a 'loose' version. (source)
Create directory for global packages
mkdir ~/.npm-packages
Create a symlink for .npmrc
ln -s ~/.dotfiles/npm/npmrc ~/.npmrc
Shell wizardry
ln -s ~/.dotfiles/npm/npm.zsh ~/.oh-my-zsh/custom/npm.zsh