NPM install without SUDO It's easy! Just change permissions on the .npm directory as shown below. Try this: sudo chown -R $(whoami) ~/.npm Or this: sudo chown -R $USER /usr/local/lib/node_modules