Skip to content
Studyraft
Menu
  • About
  • Contact Us
  • Privacy Policy

npm set default author

Sep 05 2022December 9, 2022

Run the below command to set the default author for all your upcoming npm init command:

 npm config set init.author.name "<Your Display Name>"

Example:

 npm config set init.author.name "Foo Smith"

Related Posts:

  • Fix for Make sure you configure your "user.name" and "user.email" in git
  • Enable 2-Step Verification in Google Account
  • npm get the default author
  • How to unset git config key
  • Install Nginx in MAC
Sep 05 2022December 9, 2022

© 2025 Studyraft