Skip to content
pubscout

dswitch

8.0.0, released 4 weeks ago by onepub.dev

CLI tool to rapidly switch between channels and versions of standalone Dart.

WASM-ready
$ flutter pub add dswitch
Source repository

What it does

DSwitch lets developers rapidly switch between Dart channels (stable, beta, dev) and specific SDK versions. It also allows pinning a channel to a specific version for standalone environments like CLI development.

AI-written summary of version 8.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to manage and switch between multiple standalone Dart SDK versions
  • You are developing Dart CLI applications outside of Flutter

Skip it when

  • You are building Flutter applications (use FVM instead)

Strengths

  • Allows rapid switching between Dart channels and versions
  • Supports pinning a channel to a specific version
  • Includes verification and staging processes for downloads

Weaknesses

  • Not suitable for Flutter projects since it does not manage the Dart version embedded in Flutter

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
14

Requires Dart 3.13 or later.

dswitch use beta

Alternatives

Packages that do the same job and could replace dswitch.

  • fvm

    CLI to manage Flutter SDK versions per project

  • devtools_shared

    Shared Dart structures and server classes between devtools_app and other tools.

  • pubviz

    A tool to visualize package dependencies and version constraints in your Dart project.

  • shared_versions

    A CLI tool to share and synchronize versions for multiple packages in Flutter.

Works with

Packages commonly used together with dswitch: ones it builds on, ones built on it, and its own family.