dswitch
8.0.0, released 4 weeks ago by onepub.dev
CLI tool to rapidly switch between channels and versions of standalone Dart.
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 betaAlternatives
Packages that do the same job and could replace dswitch.
- fvm
CLI to manage Flutter SDK versions per project
87Compare - devtools_shared
Shared Dart structures and server classes between devtools_app and other tools.
77Compare - pubviz
A tool to visualize package dependencies and version constraints in your Dart project.
74Compare - shared_versions
A CLI tool to share and synchronize versions for multiple packages in Flutter.
37Compare
Works with
Packages commonly used together with dswitch: ones it builds on, ones built on it, and its own family.
- archivedswitch depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- pub_semverdswitch depends on itVersions and version constraints implementing pub's versioning policy.
- argsdswitch depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- win32dswitch depends on itCall common Windows APIs and COM objects directly from Dart using FFI.
- system_info2dswitch depends on itProvides easy access to system information like architecture, kernel, memory, OS, CPU, and user.
- scopedswitch depends on itA Dart library for dependency injection using scopes and call‑stack based values.
- pubspec_managerdswitch depends on itType-safe API to read, modify, and write pubspec.yaml while preserving comments.
- settings_yamldswitch depends on itRead and write application settings to a YAML file using simple Dart maps and lists.