Anatoly
Anatoly

Reputation: 5241

Flutter, where is the Dart?

So, I've downloaded flutter SDK 1.17.5-stable and installed it following the manual but I confused a little bit by tutorial.

According to manual:

As of Flutter’s 1.19.0 dev release, the Flutter SDK contains the dart command alongside the flutter command so that you can more easily run Dart command-line programs.

But flutter/bin has only a single binary, flutter itself. According to this answer I found dart binary located within bin/cache/dart-sdk.

I definitely can add path to this directory to my .zshrc and it will work, but I would like to know if it intended behavior and manual just not updated and I haven't done anything wrong.

Upvotes: 0

Views: 562

Answers (1)

Anatoly
Anatoly

Reputation: 5241

Mystery solved! I didn't pay attention that 1.17.5 < 1.19.0 and 1.19.0 still in beta/dev channels as of date 15/Jul/2020, so tutorial was updated for release which hasn't been released yet.

Upvotes: 1

Related Questions