Universal Dart/Flutter package manager. A companion to multipack - a monorepo management tool.
uni uses dart, flutter, pub, dartfmt, dartanalyzer and dartdoc based on the project you are in.
To activate uni run one of the following commands:
pub global activate uni
# or
dart pub global activate uni
# or
flutter pub global activate uni
# or
uni pub global activate uni-
uni doctor: Show information about the installed tooling. -
uni analyze: Analyze the project's Dart code. -
uni compile: Compile Dart to various formats. -
uni create: Create a new project. -
uni format: Idiomatically format Dart source code. -
uni migrate: Perform a null safety migration on a project or package. -
uni pub: Work with packages. -
uni run: Run the program. -
uni test: Run tests in this package.
Based on context uni chooses the appropriate tooling. This behavior can be overriden, by setting --tooling flag.
For example, uni --tooling <TOOLING> pub.
dart: uses commands fromdartcommand.uni pub->dart pubflutter: uses commands fromfluttercommand.uni pub->flutter publegacy: uses legacy tooling bundled with dart.uni pub->pubadaptive(default): uses tooling based on context.uni pub->flutter pubin flutter projects;dart pubin dart projects,pubandflutter pubas a fallback