Skip to main content

dartpm add

Add package from dartpm.

Synopsis

dartpm add <unscoped_package_name> <scope/package_name> <scope/package_name@x.x.x>

Note: This command is aware of workspaces.

Description

This will add the packages from the dartpm registry if user have access to those tokens.

Note

The alternate of this command is using the dart command line tool. Command can be found on right side of package page.