Install the Dart SDK
Install the Dart SDK to start developing Dart applications. Choose your operating system below for installation instructions.For Flutter developers: If you have Flutter installed, you already have the Dart SDK. The Flutter SDK includes a compatible version of Dart.
Choose your platform
- macOS
- Windows
- Linux
Install with Homebrew
The easiest way to install Dart on macOS is using Homebrew.Upgrade Dart
Switch channels
To switch between channels, first unlink the current release:Alternative installation methods
Download SDK archives
Download SDK archives
Download platform-specific SDK archives from the Dart SDK archive.Available for all channels:
- Stable: Production-ready releases
- Beta: Preview of upcoming stable releases
- Dev: Latest development builds
bin directory to your PATH.Build from source
Build from source
For advanced users, you can build the Dart SDK from source.
Install dependencies
Linux:macOS:
- Install Xcode from the App Store
- Install Visual Studio 2017 or newer with “Desktop development with C++”
- Install Windows 10 SDK
Building from source is typically only needed for SDK contributors or for testing unreleased features.
Verify your installation
After installation, verify that Dart is correctly installed:System requirements
macOS
- macOS 10.14 (Mojave) or later
- x64 or ARM64 processor
Windows
- Windows 10 or later
- x64 processor
Linux
- Debian 10 or Ubuntu 18.04 or later
- x64, ARM, ARM64, or RISC-V processor
Next steps
Quickstart
Now that you have Dart installed, write your first Dart program