Skip to content

Map pub run to flutter package run command or similar #9301

@dbacinski

Description

@dbacinski

https://flutter.io/setup-macos/

Currently in documentation there is an info to export PATH:

export PATH=$HOME/flutter/bin:$PATH

By doing that you do not export path to Dart SDK and you are not able to use pub run command which is used by some of the tools like Intl.

It would be nice to also export Dart SDK which is downloaded with Flutter:

export PATH=$HOME/flutter/bin:$PATH
export PATH=$HOME/flutter/bin/cache/dart-sdk/bin/:$PATH

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions