The Dart SDK contains the compiler, libraries and command-line tools used by Dart programs. Flutter already includes a matching Dart SDK, so Flutter learners normally do not need a second standalone Dart installation.
Choose one installation path
If Flutter is installed, open a new terminal and run dart --version alongside flutter --version. Both should resolve from the toolchain you intend to use. If you only want command-line or server-side Dart, use a standalone SDK from the
Dart installation guide
.
Choose the stable release appropriate for your operating system and CPU architecture. Avoid copying an SDK directory from another machine with a different architecture. Keep the SDK outside your application repository.
Install standalone Dart when needed
Use the supported package manager for your OS, or download and extract the SDK archive. On macOS, the official Dart Homebrew tap provides the package. On Windows and Linux, follow the current package-manager or archive steps for that platform. The installation guide is linked here because signing keys, repositories and package instructions can change.
If you choose an archive, add its bin directory to your user PATH. Close and reopen the terminal afterward. The directory should contain the dart executable; adding only the parent downloads folder will not make the command resolve.
Verify the selected executable
dart --version
dart --help
On Windows PowerShell, use Get-Command dart -All to inspect matching commands. On macOS or Linux, use command -v dart and inspect the resolved path. If an older standalone installation appears before Flutter’s bin, decide which workflow you want and fix PATH deliberately.
Your editor can also have its own SDK setting. Confirm that its analysis and debugging use the same SDK as the terminal. A changed terminal PATH does not always update an editor that was already running.
Verify a real project
Continue with your first Dart console project . A successful version check proves the executable starts; creating, analyzing and running a package verifies more of the development flow.
Common problems
“Command not found” usually calls for checking PATH and reopening the terminal. An SDK-constraint error belongs to the project’s pubspec.yaml and selected SDK version. A Flutter project should use the Dart version supported by its Flutter revision instead of independently upgrading only its embedded Dart folder.
Exercise
Record your SDK version, executable path and chosen installation method. Explain why a Flutter learner can skip standalone Dart installation while still running every language example in this course.