Skip to main content

Creating a new user account on dartpm public registry

If you do not already have a dartpm user account, you can create an account in order to share and download Dart and Flutter packages on the public registry.

Creating an account on the website

  1. Go to the dartpm login page

  2. Use single sign-on to login/signup on dartpm

  1. Add a username in the next step. This username will be displayed when you publish packages or interact with other dartpm users on dartpm.com. Your username must be lowercase and can contain underscores and numerals. The username cannot start with a number or underscore.
  1. Read the End User License Agreement and Privacy Policy, and indicate that you agree to them.
  1. Click Create An Account.

Testing your new account with dartpm CLI login

Install the dartpm CLI tool using the Dart CLI tool:

dart pub global activate --source hosted --hosted-url "https://dartpm.com" dartpm

Use the dartpm login command to test logging in to your new account.

Learn more about the dartpm CLI tool