npm install permission error linux code example Example: npm permissions error sudo chown -R $(whoami) ~/.npm