Go to the npm signup page
In the user signup form, type in the fields:
Click Create An Account.
Note: After signing up for an npm account, you will receive an account verification email. You must verify your email address in order to publish packages to the registry.
npm login command to test logging in to your new account.
Note: If you misspell your existing account username when you log in with the
npm login command, you will create a new account with the misspelled name. For help with accidentally-created accounts, contact npm Support.
On the command line, type the following command:
When prompted, enter your username, password, and email address.
If you have two-factor authentication enabled, when prompted, enter a one-time password.
To test that you have successfully logged in, type:
Your npm username should be displayed.
© npm, Inc. and Contributors
Licensed under the npm License.
npm is a trademark of npm, Inc.