Skip to content

Instantly share code, notes, and snippets.

@dawsbot
Created December 14, 2016 00:22
Show Gist options
  • Save dawsbot/46dad556bed9816d88b994746d19f5fd to your computer and use it in GitHub Desktop.
Save dawsbot/46dad556bed9816d88b994746d19f5fd to your computer and use it in GitHub Desktop.
Give npm owner permissions to a team of people instantly
#!/bin/bash
users=(npmusername1 npmusername2 npmusername3)
for user in "${users[@]}"
do
npm owner add "$user"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment