Pub Package Manager
You can use the
pub tool to manage Dart packages.
Pub is one of the tools that you get when you
install the Dart SDK.
You can access the
pub commands either through an IDE,
such as WebStorm, or at the command line.
Use whatever approach is most convenient.
Dart applications rely on packages. If your Dart app uses one or more library packages, then your app itself must be an application package.
- Getting Started with Pub
- Create Library Packages
- Configuring Pub Environment Variables
- Publishing a Package
pub tool provides the following commands:
For an overview of all the
see Pub Commands.
Troubleshooting Pub gives solutions to problems that you might encounter when using pub.