Skip to content

Migrate "pub get" to "dart pub get" #2944

@jonasfj

Description

@jonasfj

The top-level pub command is scheduled for deprecation in favor of dart pub.

We added dart pub in version 2.10.0, so it might still be necessary to call pub get for some older versions of the Dart SDK.
However, we plan to insert a deprecation warning in the top-level pub command, in Dart 2.12.0 (next stable release of the Dart SDK). Hence, to avoid users experiencing a deprecation warning in pub get output, it would be preferable to migrate to dart pub get now.

See also: dart-lang/pub#2736

Metadata

Metadata

Assignees

No one assigned

    Labels

    importantSomething important!in commandsRelates to commands (usually invoked from the command Palette)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions