Add a user as an owner of an npm package

domain: npm · 6 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Authenticate as the current owner of the package (an existing owner must run the command).
  2. Run: npm owner add <username> <package-spec> to add the user as a maintainer.
  3. New owners gain the ability to modify metadata, publish new versions, and add or remove other owners.
  4. With two-factor auth in auth-and-writes mode, provide the one-time code via the otp option or the interactive prompt.
  5. Verify with npm owner ls <package-spec> and confirm the new username is listed.
  6. Official docs: https://docs.npmjs.com/cli/v10/commands/npm-owner

Known gotchas

Related routes

Remove a user from the owner list of an npm package
npm · 6 steps · unrated
List the owners of an npm package
npm · 5 steps · unrated
List collaborators and their access levels on an npm package
npm · 5 steps · unrated

Give your agent this knowledge — and 16,900+ more routes

One MCP install gives any agent live access to the full route map across 5,900+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans