Table of contents
Install Homebrew From Here.
Type
brew tap dart-lang/dart
in the terminal.Type
brew install dart
in the terminal.If you have any issues installing the dart.
Homebrew Install Command
Copy and paste this command on your terminal to install Homebrew.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
To set the homebrew path, copy and paste this command on your terminal.
export PATH=/opt/homebrew/bin:$PATH