dart-lang / homebrew-dart

Dart team's official tap for homebrew.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dart@2.12.0 not found MacOS

tzvc opened this issue · comments

Hi there,

I'm trying to install dart 2.12.0 and brew doesn't seem to find it:

brew tap dart-lang/dart
brew install dart@2.12.0
Warning: No available formula or cask with the name "dart@2.12.0".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

Any ideas ?

commented

Having the same problem. Latest Dart SDK version is 2.10.4 in brew but Flutter is using newer Dart SDK version. Due to that problem, I'm unable to run my Dart Console Application.

The command "brew search dart" lists the available formulas, and shows that 2.12 is named dart@2.12, not dart@2.12.0.

To get the most recent stable, beta, and dev versions, just use the formulas dart and dart-beta, without a version number specified. Those will currently get you 2.13, 2.14, and 2.15.

If for some reason homebrew does not work for you, you can download the SDK manually using the alternate methods described at dartlang.org/install.