Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dart install/setup on Mac/OSX

Tags:

macos

dart

What's the usual folder where the Dart Editor and SDK (after unzipped the download) are installed/moved to? (/Applications)?

like image 373
guyd Avatar asked Jun 16 '15 19:06

guyd


People also ask

How do I set the path for flutter on Mac?

Add Flutter to your PATH The easiest way to do this is by using the terminal to navigate into the flutter/bin folder and use the pwd command to print the current working directory. Copy the result of the pwd command. This is the path to your Flutters bin folder, which we will need in a second.


2 Answers

 Please follow the https://dart.dev/get-dart

$ brew tap dart-lang/dart
$ brew install dart

and then:

$ brew info dart

And you will see: /usr/local/opt/dart/libexec

like image 83
Yvgen Avatar answered Sep 21 '22 21:09

Yvgen


Please note the path to the Dart SDK:
/usr/local/opt/dart/libexec

--with-dartium:
To use with IntelliJ, set the Dartium execute home to:
/usr/local/opt/dart/Chromium.app

Other information: https://www.dartlang.org/downloads/mac.html

like image 44
Cangji Wu Avatar answered Sep 21 '22 21:09

Cangji Wu